Share via


HandMeshObserver.GetTriangleIndices(UInt16[]) Method

Definition

Fills an index buffer for this hand mesh model.

public:
 virtual void GetTriangleIndices(Platform::Array <unsigned short> ^ indices) = GetTriangleIndices;
void GetTriangleIndices(winrt::array_view <uint16_t> & indices);
public void GetTriangleIndices(ushort[] indices);
function getTriangleIndices(indices)
Public Sub GetTriangleIndices (indices As UShort())

Parameters

indices

UInt16[]

unsigned short[]

uint16_t[]

The index buffer to fill.

Remarks

Get TriangleIndexCount first to know how many elements to allocate in the index buffer you pass in here.

The hand mesh's index buffer will not change for the lifetime of the HandMeshObserver.

Applies to