C Specification

The XrControllerModelNodeStateMSFT structure describes the state of a node in a controller model.

// Provided by XR_MSFT_controller_model
typedef struct XrControllerModelNodeStateMSFT {
    XrStructureType    type;
    void*              next;
    XrPosef            nodePose;
} XrControllerModelNodeStateMSFT;

Members

Parameter Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain.

  • nodePose is an XrPosef of the node in its parent node space.

Description

The state is corresponding to the glTF node identified by the XrControllerModelNodePropertiesMSFT::nodeName and XrControllerModelNodePropertiesMSFT::parentNodeName of the node property at the same array index in the XrControllerModelPropertiesMSFT::nodeProperties in XrControllerModelPropertiesMSFT.

The nodePose is based on the user’s interaction on the controller at the latest xrSyncActions, represented as the XrPosef of the node in it’s parent node space.

Valid Usage (Implicit)

See Also

Document Notes

For more information, see the OpenXR Specification

This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2024, The Khronos Group Inc.