C Specification
The xrSyncActionData function is defined as:
XrResult xrSyncActionData(
XrSession session,
uint32_t countActionSets,
const XrActiveActionSet* actionSets);
Parameters
Description
xrSyncActionData updates the current state of input actions. Repeated input action state queries between subsequent synchronization calls must return the same values. This call must be called with an array containing the XrActiveActionSet structures, that reference action sets which belong to a single, running session, that should be updated during this synchronization. Any XrActionSet that has been created in this session but was not passed to xrSyncActionData will not be updated and all action state queries will return that the action is inactive.
If session
is not running, the runtime must return XR_ERROR_SESSION_NOT_RUNNING
.
If session
is not focused, the runtime must return XR_SESSION_NOT_FOCUSED
, and all actions in the session
will be inactive.
See Also
Document Notes
For more information, see the OpenXR Specification at URL
This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.
Copyright
Copyright (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.