C Specification
The xrGetRenderModelStateEXT function reads the current state of the animatable nodes in the render model.
// Provided by XR_EXT_render_model
XrResult xrGetRenderModelStateEXT(
XrRenderModelEXT renderModel,
const XrRenderModelStateGetInfoEXT* getInfo,
XrRenderModelStateEXT* state);
Parameters
Description
The order of the elements in XrRenderModelStateEXT::nodeStates
in state is the same as the order of node names returned by the
xrGetRenderModelAssetPropertiesEXT function.
The corresponding index in XrRenderModelStateEXT::nodeStates is
the same as the index in
XrRenderModelAssetPropertiesEXT::nodeProperties.
The number of states is
XrRenderModelPropertiesEXT::animatableNodeCount.
The runtime must return XR_ERROR_VALIDATION_FAILURE if
XrRenderModelStateEXT::nodeStateCount is not equal to
XrRenderModelPropertiesEXT::animatableNodeCount.
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
Copyright 2014-2025 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.