{
// Note: call within QueuedTask.Run()
{
var def = pointCloudSceneLayer.GetDefinition() as CIMPointCloudLayer;
//PointsBudget - corresponds to Display Limit on the UI
// - the absolute maximum # of points to display
def.PointsBudget = 1000000;
//PointsPerInch - corresponds to Density Min --- Max on the UI
// - the max number of points per display inch to renderer
def.PointsPerInch = 15;
//Commit changes back to the CIM
pointCloudSceneLayer.SetDefinition(def);
}
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)