|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
One action definition for an interaction profile. More...
#include <XrProfile.h>
Public Attributes | |
| const char * | actionSuffix |
| Name suffix, e.g. "trigger_value". The full action name is <profile_slug>_<suffix>. | |
| XrInputType | type |
| OpenXR action type. | |
| const char * | hand |
| "both", "left", "right", or "" (no user subaction, e.g. head/gamepad). | |
| const char * | pathSuffix |
| Path relative to the user hand path (e.g. "/input/trigger/value"), or a full path when hand is "". | |
| const char * | pathSuffix2 = nullptr |
| Optional second binding path (currently unused; Vector2 binds to a single 2D path). | |
One action definition for an interaction profile.
The full OpenXR action name is <profile_slug>_<actionSuffix>. Game code declares which of these inputs feed a given function; XrInputHandler resolves the value across profiles and hands.
Definition at line 38 of file XrProfile.h.
| const char* Input::XrInputDef::actionSuffix |
Name suffix, e.g. "trigger_value". The full action name is <profile_slug>_<suffix>.
Definition at line 40 of file XrProfile.h.
| const char* Input::XrInputDef::hand |
"both", "left", "right", or "" (no user subaction, e.g. head/gamepad).
Definition at line 42 of file XrProfile.h.
| const char* Input::XrInputDef::pathSuffix |
Path relative to the user hand path (e.g. "/input/trigger/value"), or a full path when hand is "".
Definition at line 43 of file XrProfile.h.
| const char* Input::XrInputDef::pathSuffix2 = nullptr |
Optional second binding path (currently unused; Vector2 binds to a single 2D path).
Definition at line 44 of file XrProfile.h.
| XrInputType Input::XrInputDef::type |
OpenXR action type.
Definition at line 41 of file XrProfile.h.