ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LasDatasetLayer Class / SetEyeDomeLightingStrength Method
The eye dome lighting strength. The value must be between 0 and 100 inclusive.
Example

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

    Parameters

    value
    The eye dome lighting strength. The value must be between 0 and 100 inclusive.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run
    The strength value must be between 0 and 100 inclusive.
    Remarks
    The EDL 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
    // 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