Namespace: Esri::GameEngine::Layers
Class: Esri/GameEngine/Layers/ArcGISMeshModification
Since: 1.3.0
Summary
Defines the modification to apply to a layer or terrain.
Constructors
ArcGISMeshModification(const ArcGISPolygon&, ArcGISMeshModificationType)
Creates a new ArcGISMeshModification using an ArcGISPolygon and an ArcGISMeshModificationType.
Since 1.3.0
Arguments
Name | Type | Const | Summary |
---|---|---|---|
polygon | Yes | The polygon that defines the area to modify. | |
type | No | The type of mesh modification to perform. |
Properties
Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|
No | Yes | The polygon that defines the area to modify. | ||
No | Yes | The type of mesh modification to perform. |
Polygon
ArcGISPolygon GetPolygon() const
The polygon that defines the area to modify.
If the polygon is multipart (see ArcGISMultipart::Parts) it must also be simple (see ArcGISGeometryEngine::IsSimple). Multipart polygons with multiple exterior rings and holes must have parts ordered such that exterior rings are followed by their immediate holes. Simplifying a polygon will ensure its paths are in the required order (see ArcGISGeometryEngine::Simplify). The polygon may not contain curves (see ArcGISGeometry::HasCurves). The polygon must have a spatial reference (see ArcGISGeometry::SpatialReference).