Constructor VirtualLighting
VirtualLighting(bool)
Initializes a new instance of the VirtualLighting class for lighting a scene.
Declaration
public VirtualLighting(bool areDirectShadowsEnabled)
Parameters
| Type | Name | Description |
|---|---|---|
| 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 |