ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LasDatasetLayer Class / SetEyeDomeLightingRadius Method
The eye dome lighting radius. The value must be betewen 1 and 5 inclusive.
Example

In This Topic
    SetEyeDomeLightingRadius Method (LasDatasetLayer)
    In This Topic
    Sets the Eye Dome Lighting (EDL) radius value. The EDL radius controls the width of effects. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetEyeDomeLightingRadius( 
       double value
    )
    Public Sub SetEyeDomeLightingRadius( _
       ByVal value As Double _
    ) 

    Parameters

    value
    The eye dome lighting radius. The value must be betewen 1 and 5 inclusive.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run
    The radius value must be between 1 and 5 inclusive.
    Remarks
    The EDL radius is a value between 1 and 5 inclusive. The default value is 2 pixels wide. A larger radius will slow down performance. Ensure that IsEyeDomeLightingEnabled is true for this value to have effect.
    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