Show / Hide Table of Contents

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

true if shadows cast by the sun are shown, false otherwise.

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
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.