setSunTime Method

Set the solar light direction based on time value

setSunTime(time: number): void

see DisplayStyle3dSettings.sunTime to obtain the current sun time.

see DisplayStyle3dSettings.setSunTime.

Parameter Type Description
time number The time in unix time milliseconds.

Returns - void

Defined in

Last Updated: 20 June, 2023