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

In This Topic
    EyeDomeLightingRadius Property (LasDatasetLayer)
    In This Topic
    Gets the Eye Dome Lighting (EDL) radius value. The EDL radius controls the width of effects.
    Syntax
    Public ReadOnly Property EyeDomeLightingRadius As Double
    public double EyeDomeLightingRadius {get;}
    Remarks
    The eye dome lighting radius is a value between 1 and 5 inclusive. Ensure that IsEyeDomeLightingEnabled is true for this value to have effect. The default value is 2 pixels wide. Note, that a larger radius will slow down performance.
    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