ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMPointCloudRenderer Class / ColorModulation Property
Example

In This Topic
    ColorModulation Property (CIMPointCloudRenderer)
    In This Topic
    Gets or sets the filter used to filter the points being drawn.
    Syntax
    public CIMColorModulationInfo ColorModulation {get; set;}
    Public Property ColorModulation As CIMColorModulationInfo
    Example
    Edit Color Modulation
    //Must be called on the MCT
    //var pcsl = ...;
    var def = pcsl.GetDefinition() as CIMPointCloudLayer;
    //Get the ColorModulation off the renderer
    var modulation = def.Renderer.ColorModulation;
    if (modulation == null)
      modulation = new CIMColorModulationInfo();
    //Set the minimum and maximum intensity as needed
    modulation.MinValue = 0;
    modulation.MaxValue = 100.0;
    //apply back
    def.Renderer.ColorModulation = modulation;
    //Commit changes back to the CIM
    pcsl.SetDefinition(def);
    
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also