Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Input::XrRig Class Reference

#include <XrRig.h>

Collaboration diagram for Input::XrRig:

Public Member Functions

 XrRig (const XrInputHandler *inputHandler, const Engine::Rendering::Headset *headset)
void resolveTrackedPoses ()
TrackedHandPose getHandPose (Hand hand) const

Private Attributes

const XrInputHandlerinputHandler_ = nullptr
const Engine::Rendering::Headsetheadset_ = nullptr
TrackedHandPose handPoses_ [2]

Detailed Description

Resolves raw XR play-space poses into world-space tracked poses after the player origin has been updated for the frame.

Definition at line 28 of file XrRig.h.

Constructor & Destructor Documentation

◆ XrRig()

Input::XrRig::XrRig ( const XrInputHandler * inputHandler,
const Engine::Rendering::Headset * headset )

Member Function Documentation

◆ getHandPose()

TrackedHandPose Input::XrRig::getHandPose ( Hand hand) const
nodiscard

◆ resolveTrackedPoses()

void Input::XrRig::resolveTrackedPoses ( )

Member Data Documentation

◆ handPoses_

TrackedHandPose Input::XrRig::handPoses_[2]
private

Definition at line 40 of file XrRig.h.

◆ headset_

const Engine::Rendering::Headset* Input::XrRig::headset_ = nullptr
private

Definition at line 39 of file XrRig.h.

◆ inputHandler_

const XrInputHandler* Input::XrRig::inputHandler_ = nullptr
private

Definition at line 38 of file XrRig.h.


The documentation for this class was generated from the following file:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Input/XrRig.h