clone Method

Create a copy of this SolarLight, identical except in any properties explicitly specified by changedProps, with a possible exception for timePoint. If this.timePoint is defined and changedProps defines direction but doesn't define timePoint, the time point will only be preserved in the copy if changesProps.direction is equal to this.direction.

clone(changedProps?: SolarLightProps): SolarLight

Parameter Type Description
changedProps SolarLightProps  

Returns - SolarLight

Defined in

Last Updated: 14 November, 2024