ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LasDatasetLayer Class / IsEyeDomeLightingEnabled Property
Example

In This Topic
    IsEyeDomeLightingEnabled Property (LasDatasetLayer)
    In This Topic
    Gets whether Eye Dome Lighting (EDL) is enabled on the layer.
    Syntax
    public bool IsEyeDomeLightingEnabled {get;}
    Public ReadOnly Property IsEyeDomeLightingEnabled As Boolean
    Remarks
    Eye-Dome Lighting can improve depth perception in a 3D layer.
    Example
    Eye Dome Lighting
    // get current EDL settings
    bool isEnabled = lasDatasetLayer.IsEyeDomeLightingEnabled;
    var radius = lasDatasetLayer.EyeDomeLightingRadius;
    var strength = lasDatasetLayer.EyeDomeLightingStrength;
    
    // set EDL values
    lasDatasetLayer.SetEyeDomeLightingEnabled(true);
    lasDatasetLayer.SetEyeDomeLightingStrength(65.0);
    lasDatasetLayer.SetEyeDomeLightingRadius(2.0);
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also