OPENXR Scol plugin
Public Attributes | List of all members
InputState Struct Reference

Public Attributes

XrActionSet actionSet { XR_NULL_HANDLE }
 
std::vector< XrAction > buttonAction
 
std::vector< XrAction > touchAction
 
std::vector< XrAction > analogAction
 
std::vector< std::vector< bool > > buttonStates
 
std::vector< std::vector< bool > > touchStates
 
std::vector< std::vector< float > > analogStates
 
XrAction poseAction { XR_NULL_HANDLE }
 
XrAction vibrateAction { XR_NULL_HANDLE }
 
std::array< XrPath, MAX_VR_CONTROLLERS > handSubactionPath
 
std::array< XrSpace, MAX_VR_CONTROLLERS > handSpace
 
std::array< float, MAX_VR_CONTROLLERS > handScale = { {1.0f, 1.0f} }
 
std::array< XrBool32, MAX_VR_CONTROLLERS > handActive
 
std::array< bool, MAX_VR_CONTROLLERS > handVisible
 
std::array< Vector3, MAX_VR_CONTROLLERS > handPos
 
std::array< Quaternion, MAX_VR_CONTROLLERS > handQuat
 
std::array< Vector3, MAX_VR_CONTROLLERS > handVelocity
 
std::array< Vector3, MAX_VR_CONTROLLERS > handAngularVelocity
 

Detailed Description

Definition at line 139 of file sOpenXR.h.

Member Data Documentation

◆ actionSet

XrActionSet InputState::actionSet { XR_NULL_HANDLE }

Definition at line 140 of file sOpenXR.h.

◆ analogAction

std::vector<XrAction> InputState::analogAction

Definition at line 143 of file sOpenXR.h.

◆ analogStates

std::vector<std::vector<float> > InputState::analogStates

Definition at line 146 of file sOpenXR.h.

◆ buttonAction

std::vector<XrAction> InputState::buttonAction

Definition at line 141 of file sOpenXR.h.

◆ buttonStates

std::vector<std::vector<bool> > InputState::buttonStates

Definition at line 144 of file sOpenXR.h.

◆ handActive

std::array<XrBool32, MAX_VR_CONTROLLERS> InputState::handActive

Definition at line 154 of file sOpenXR.h.

◆ handAngularVelocity

std::array<Vector3, MAX_VR_CONTROLLERS> InputState::handAngularVelocity

Definition at line 159 of file sOpenXR.h.

◆ handPos

std::array<Vector3, MAX_VR_CONTROLLERS> InputState::handPos

Definition at line 156 of file sOpenXR.h.

◆ handQuat

std::array<Quaternion, MAX_VR_CONTROLLERS> InputState::handQuat

Definition at line 157 of file sOpenXR.h.

◆ handScale

std::array<float, MAX_VR_CONTROLLERS> InputState::handScale = { {1.0f, 1.0f} }

Definition at line 153 of file sOpenXR.h.

◆ handSpace

std::array<XrSpace, MAX_VR_CONTROLLERS> InputState::handSpace

Definition at line 152 of file sOpenXR.h.

◆ handSubactionPath

std::array<XrPath, MAX_VR_CONTROLLERS> InputState::handSubactionPath

Definition at line 151 of file sOpenXR.h.

◆ handVelocity

std::array<Vector3, MAX_VR_CONTROLLERS> InputState::handVelocity

Definition at line 158 of file sOpenXR.h.

◆ handVisible

std::array<bool, MAX_VR_CONTROLLERS> InputState::handVisible

Definition at line 155 of file sOpenXR.h.

◆ poseAction

XrAction InputState::poseAction { XR_NULL_HANDLE }

Definition at line 148 of file sOpenXR.h.

◆ touchAction

std::vector<XrAction> InputState::touchAction

Definition at line 142 of file sOpenXR.h.

◆ touchStates

std::vector<std::vector<bool> > InputState::touchStates

Definition at line 145 of file sOpenXR.h.

◆ vibrateAction

XrAction InputState::vibrateAction { XR_NULL_HANDLE }

Definition at line 149 of file sOpenXR.h.


The documentation for this struct was generated from the following file: