Kanda Players 0.7.0
Loading...
Searching...
No Matches
OpenXrHandInputData Struct Reference

Stores input data from OpenXR hand controller. More...

+ Inheritance diagram for OpenXrHandInputData:

Public Attributes

HandType HandType
 Hand type, Left or Right.
 
float3 Position
 The position of the hand controller.
 
quaternion Rotation
 The rotation of the hand controller.
 
bool TriggerPress
 Whether the hand trigger button is pressed.
 
bool TriggerWasPressed
 Whether the hand trigger button was pressed in one frame.
 
bool TriggerWasReleased
 Whether the hand trigger button was released in one frame.
 
float Trigger
 How far the trigger button was pressed.
 
bool GripPress
 Whether the hand grip button is pressed.
 
bool GripWasPressed
 Whether the hand grip button was pressed in one frame.
 
bool GripWasReleased
 Whether the hand grip button was released in one frame.
 
float Grip
 How far the grip button was pressed.
 
bool PrimaryButtonPress
 Whether the hand primary button is pressed.
 
bool PrimaryButtonWasPressed
 Whether the hand primary button was pressed in one frame.
 
bool PrimaryButtonWasReleased
 Whether the hand primary button was released in one frame.
 
bool SecondaryButtonPress
 Whether the hand secondary button is pressed.
 
bool SecondaryButtonWasPressed
 Whether the hand secondary button was pressed in one frame.
 
bool SecondaryButtonWasReleased
 Whether the hand secondary button was released in one frame.
 
float2 Thumbstick
 The current value of the hand thumbstick.
 

Detailed Description

Stores input data from OpenXR hand controller.


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