Share via


SpatialSurfaceMesh.TriangleIndices Property

Definition

Gets the buffer object representing the mesh's index buffer.

public:
 property SpatialSurfaceMeshBuffer ^ TriangleIndices { SpatialSurfaceMeshBuffer ^ get(); };
SpatialSurfaceMeshBuffer TriangleIndices();
public SpatialSurfaceMeshBuffer TriangleIndices { get; }
var spatialSurfaceMeshBuffer = spatialSurfaceMesh.triangleIndices;
Public ReadOnly Property TriangleIndices As SpatialSurfaceMeshBuffer

Property Value

The mesh buffer.

Remarks

If SpatialSurfaceMeshOptions.TriangleIndexFormat is set as an option in the call to SpatialSurfaceInfo.TryComputeLatestMeshAsync, this buffer will be generated in the format indicated.

Applies to