ArcGIS Pro 3.2 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 double EyeDomeLightingStrength {get;}
    Public ReadOnly Property EyeDomeLightingStrength As Double
    Remarks
    The eye dome lighting strength value is a percentage (that is a value betewen 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