Namespace: Esri::GameEngine::Layers
Class: Esri/GameEngine/Layers/ArcGISPointCloudLayer
Since: 2.2.0
Inheritance: ArcGISLayer->ArcGISPointCloudLayer

Summary

A layer to visualize point cloud data.

Constructors

ArcGISPointCloudLayer(const FString& source, const FString& APIKey)

Creates a point cloud layer with the specified service or package URI.

Since 2.2.0

Arguments
NameTypeConstSummary
source
Yes

The URL to a SceneServer REST endpoint or the path to a scene layer package (.slpk) file.

APIKey
Yes

API key used to load data.

ArcGISPointCloudLayer(const FString& source, const FString& name, float opacity, bool visible, const FString& APIKey)

Creates a point cloud layer with the specified service or package URI.

Since 2.2.0

Arguments
NameTypeConstSummary
source
Yes

The URL to a SceneServer REST endpoint or the path to a scene layer package (.slpk) file.

name
Yes

Layer name.

opacity
No

Layer opacity.

visible
No

Layer visible or not.

APIKey
Yes

API key used to load data.

Properties

PropertyTypeNullableReadonlySummary
ArcGISImmutableCollection<ArcGISPointCloudAttribute>
No
Yes

Describes the attributes that are associated with the points in the point cloud layer.

ArcGISCollection<ArcGISPointCloudFilter>
No
No

Filters applied to the point cloud layer that control which points are visible in the layer.

Yes
No

The renderer applied to the point cloud layer.

Attributes

ArcGISImmutableCollection<ArcGISPointCloudAttribute> GetAttributes() const

Describes the attributes that are associated with the points in the point cloud layer.

These attributes can be used to define the layer’s renderer and filters.

Filters

ArcGISCollection<ArcGISPointCloudFilter> GetFilters() const

void SetFilters(const ArcGISCollection<ArcGISPointCloudFilter>& filters)

Filters applied to the point cloud layer that control which points are visible in the layer.

If ArcGISPointCloudFilter::AttributeName does not match one of the attributes available in PointCloudLayer.attributes, a LayerViewState that contains an appropriate error is raised.

Renderer

ArcGISPointCloudRenderer GetRenderer() const

void SetRenderer(const ArcGISPointCloudRenderer& renderer)

The renderer applied to the point cloud layer.

When this property is null, a default renderer is used internally. If a color attribute is available, the default renderer is ArcGISPointCloudRGBRenderer; otherwise, the default is ArcGISPointCloudStretchRenderer using the elevation attribute.

If ArcGISPointCloudRenderer::AttributeName does not match one of the attributes available in PointCloudLayer.attributes, a LayerViewState that contains an appropriate error is raised.