Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Input::HandPoseInfo Struct Reference

Raw pose data for one tracked OpenXR hand. More...

#include <XrInputHandler.h>

Collaboration diagram for Input::HandPoseInfo:

Public Attributes

glm::mat4 matrix {}
 Pose matrix located relative to the last synced player space.
Engine::OpenXrHelper::posef handPose
 Position and orientation located relative to the last synced player space.
XrPath handPath {}
 OpenXR user hand path for this pose, such as /user/hand/left.
XrSpace space = XR_NULL_HANDLE
 Action space created for this hand's aim pose action.

Detailed Description

Raw pose data for one tracked OpenXR hand.

matrix and handPose are updated by XrInputHandler::syncInputs() when the OpenXR runtime reports an active, position-tracked, and orientation-tracked aim pose. The pose is located in the playerSpace passed to syncInputs(). Use XrRig when gameplay code needs world-space hand poses.

Definition at line 52 of file XrInputHandler.h.

Member Data Documentation

◆ handPath

XrPath Input::HandPoseInfo::handPath {}

OpenXR user hand path for this pose, such as /user/hand/left.

Definition at line 57 of file XrInputHandler.h.

◆ handPose

Engine::OpenXrHelper::posef Input::HandPoseInfo::handPose

Position and orientation located relative to the last synced player space.

Definition at line 55 of file XrInputHandler.h.

◆ matrix

glm::mat4 Input::HandPoseInfo::matrix {}

Pose matrix located relative to the last synced player space.

Definition at line 54 of file XrInputHandler.h.

◆ space

XrSpace Input::HandPoseInfo::space = XR_NULL_HANDLE

Action space created for this hand's aim pose action.

Definition at line 58 of file XrInputHandler.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Input/XrInputHandler.h