ArcGIS Pro 3.7 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 ReadOnly Property IsEyeDomeLightingEnabled As Boolean
    public bool IsEyeDomeLightingEnabled {get;}
    Remarks
    Eye-Dome Lighting can improve depth perception in a 3D layer.
    Example
    Eye Dome Lighting
    {
      // Note: Needs QueuedTask to run
      {
        // 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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.2 or higher.
    See Also