Udostępnij za pośrednictwem


HandMeshVertexState Class

Definition

Represents the vertex buffer and other state needed to render the hand mesh.

public ref class HandMeshVertexState sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HandMeshVertexState final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class HandMeshVertexState
Public NotInheritable Class HandMeshVertexState
Inheritance
Object Platform::Object IInspectable HandMeshVertexState
Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Remarks

This state update's vertex positions and normals filled by GetVertices are expressed relative to the CoordinateSystem property. Each frame, you must always get the new vertices and then locate their new coordinate system to accurately position the vertices in the world.

Properties

CoordinateSystem

Gets the coordinate system within which this frame's vertex positions and normals are expressed.

UpdateTimestamp

Gets the timestamp at which the vertex positions and normals were last updated.

Methods

GetVertices(HandMeshVertex[])

Fills a vertex buffer for this hand mesh model.

Applies to