Namespace: Esri::GameEngine::Layers
Class: Esri/GameEngine/Layers/ArcGISOGC3DTilesLayer
Since: 2.0.0
Inheritance: ArcGISLayer->ArcGISOGC3DTilesLayer
Summary
A layer to visualize 3D tiles data that conforms to the OGC 3D Tiles specification.
Constructors
ArcGISOGC3DTilesLayer(const FString& source, const FString& name, float opacity, bool visible, const FString& APIKey)
Creates a new layer.
Since 2.0.0
Arguments
| Name | Type | Const | Summary |
|---|---|---|---|
source | Yes | Layer source. | |
name | Yes | Layer name. | |
opacity | No | Layer opacity. | |
visible | No | Layer visible or not. | |
APIKey | Yes | API key used to access secured ArcGIS services and portal items without requiring user sign-in. Leave empty to use anonymous access or configured user authentication. |
Properties
| Property | Type | Nullable | Readonly | Summary |
|---|---|---|---|---|
No | No | The dictionary of custom parameters (such as an API key) to be sent with the requests issued by this layer. | ||
UMaterialInterface* | No | No | The user-defined material reference to render the layer. | |
ArcGISCollection<ArcGISMeshModification> | No | No | A mutable collection of ArcGISMeshModification to apply to the layer. | |
No | No | True to hide the surface if it intersects the layer, false otherwise. |
CustomParameters
The dictionary of custom parameters (such as an API key) to be sent with the requests issued by this layer.
MaterialReference
UMaterialInterface* GetMaterialReference() const
void SetMaterialReference(UMaterialInterface* materialReference)
The user-defined material reference to render the layer.
This is required to be set before the layer is loaded or an error will occur.
MeshModifications
ArcGISCollection<ArcGISMeshModification> GetMeshModifications() const
void SetMeshModifications(const ArcGISCollection<ArcGISMeshModification>& meshModifications)
A mutable collection of ArcGISMeshModification to apply to the layer.