ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LasDatasetLayer Class / EyeDomeLightingStrength Property
Example

In This Topic
    EyeDomeLightingStrength Property (LasDatasetLayer)
    In This Topic
    Gets the Eye Dome Lighting (EDL) strength value. The EDL strength adjusts the intensity of the resulting effects.
    Syntax
    Public ReadOnly Property EyeDomeLightingStrength As Double
    public double EyeDomeLightingStrength {get;}
    Remarks
    The eye dome lighting strength value is a percentage (that is a value between 0 and 100). EDL is disabled when the value is set to 0. The default value is 50. A larger value will give you a stronger perception of the depth. Ensure that IsEyeDomeLightingEnabled is true for this value to have effect.
    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