Constructor SunLighting
SunLighting(DateTimeOffset, bool)
Initializes a new instance of the SunLighting class for lighting a scene.
Declaration
public SunLighting(DateTimeOffset simulatedDate, bool areDirectShadowsEnabled)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTimeOffset | simulatedDate | The current date and time of the simulated sun in UTC. |
| bool | areDirectShadowsEnabled |
|
Remarks
Shadows cast by the terrain are not supported. Enabling shadows can impact rendering performance, depending on the amount of data in the scene.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |