Kanda Players 0.7.0
|
Collects player-related inputs from OpenXR. More...
Public Member Functions | |
float3 | GetHmdPosition () |
Gets the floor-tracked position of the Head Mounted Device. | |
quaternion | GetHmdRotation () |
Gets the rotation of the Head Mounted Device. | |
float3 | GetLeftHandPosition () |
Gets the Left hand's position. | |
quaternion | GetLeftHandRotation () |
Gets the Left hand's rotation. | |
bool | GetLeftHandTriggerPress () |
Gets the Left hand's trigger press. | |
bool | GetLeftHandTriggerWasPressed () |
Gets the Left hand's trigger was pressed state in one frame. | |
bool | GetLeftHandTriggerWasReleased () |
Gets the Left hand's trigger was released state in one frame. | |
float | GetLeftHandTrigger () |
Gets the Left hand's trigger value. | |
bool | GetLeftHandGripPress () |
Gets the Left hand's grip press. | |
bool | GetLeftHandGripWasPressed () |
Gets the Left hand's grip was pressed state in one frame. | |
bool | GetLeftHandGripWasReleased () |
Gets the Left hand's grip was released state in one frame. | |
float | GetLeftHandGrip () |
Gets the Left hand's grip value. | |
bool | GetLeftHandPrimaryButtonPress () |
Gets the Left hand's primary button press. | |
bool | GetLeftHandPrimaryButtonWasPressed () |
Gets the Left hand's primary button was pressed state in one frame. | |
bool | GetLeftHandPrimaryButtonWasReleased () |
Gets the Left hand's primary button was released state in one frame. | |
bool | GetLeftHandSecondaryButtonPress () |
Gets the Left hand's secondary button press. | |
bool | GetLeftHandSecondaryButtonWasPressed () |
Gets the Left hand's secondary button was pressed state in one frame. | |
bool | GetLeftHandSecondaryButtonWasReleased () |
Gets the Left hand's secondary button was released state in one frame. | |
float2 | GetLeftHandThumbstick () |
Gets the Left hand's thumbstick value. | |
float3 | GetRightHandPosition () |
Gets the Right hand's position. | |
quaternion | GetRightHandRotation () |
Gets the Right hand's rotation. | |
bool | GetRightHandTriggerPress () |
Gets the Right hand's trigger press. | |
bool | GetRightHandTriggerWasPressed () |
Gets the Right hand's trigger was pressed state in one frame. | |
bool | GetRightHandTriggerWasReleased () |
Gets the Right hand's trigger was released state in one frame. | |
float | GetRightHandTrigger () |
Gets the Right hand's trigger value. | |
bool | GetRightHandGripPress () |
Gets the Right hand's grip press. | |
bool | GetRightHandGripWasPressed () |
Gets the Right hand's grip was pressed state in one frame. | |
bool | GetRightHandGripWasReleased () |
Gets the Right hand's grip was released state in one frame. | |
float | GetRightHandGrip () |
Gets the Right hand's grip value. | |
bool | GetRightHandPrimaryButtonPress () |
Gets the Right hand's primary button press. | |
bool | GetRightHandPrimaryButtonWasPressed () |
Gets the Right hand's primary button was pressed state in one frame. | |
bool | GetRightHandPrimaryButtonWasReleased () |
Gets the Right hand's primary button was released state in one frame. | |
bool | GetRightHandSecondaryButtonPress () |
Gets the Right hand's secondary button click. | |
bool | GetRightHandSecondaryButtonWasPressed () |
Gets the Right hand's secondary button was pressed state in one frame. | |
bool | GetRightHandSecondaryButtonWasReleased () |
Gets the Right hand's secondary button was released state in one frame. | |
float2 | GetRightHandThumbstick () |
Gets the Right hand's thumbstick value. | |
![]() | |
void | Enable () |
Enable the input collector, prompting it to set up and enable appropriate input actions. | |
Additional Inherited Members | |
![]() | |
bool | IsEnabled [get] |
True if the input collector has been enabled. | |
Collects player-related inputs from OpenXR.
float3 GetHmdPosition | ( | ) |
Gets the floor-tracked position of the Head Mounted Device.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
quaternion GetHmdRotation | ( | ) |
Gets the rotation of the Head Mounted Device.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
float GetLeftHandGrip | ( | ) |
Gets the Left hand's grip value.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetLeftHandGripPress | ( | ) |
Gets the Left hand's grip press.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetLeftHandGripWasPressed | ( | ) |
Gets the Left hand's grip was pressed state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetLeftHandGripWasReleased | ( | ) |
Gets the Left hand's grip was released state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
float3 GetLeftHandPosition | ( | ) |
Gets the Left hand's position.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetLeftHandPrimaryButtonPress | ( | ) |
Gets the Left hand's primary button press.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetLeftHandPrimaryButtonWasPressed | ( | ) |
Gets the Left hand's primary button was pressed state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetLeftHandPrimaryButtonWasReleased | ( | ) |
Gets the Left hand's primary button was released state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
quaternion GetLeftHandRotation | ( | ) |
Gets the Left hand's rotation.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetLeftHandSecondaryButtonPress | ( | ) |
Gets the Left hand's secondary button press.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetLeftHandSecondaryButtonWasPressed | ( | ) |
Gets the Left hand's secondary button was pressed state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetLeftHandSecondaryButtonWasReleased | ( | ) |
Gets the Left hand's secondary button was released state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
float2 GetLeftHandThumbstick | ( | ) |
Gets the Left hand's thumbstick value.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
float GetLeftHandTrigger | ( | ) |
Gets the Left hand's trigger value.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetLeftHandTriggerPress | ( | ) |
Gets the Left hand's trigger press.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetLeftHandTriggerWasPressed | ( | ) |
Gets the Left hand's trigger was pressed state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetLeftHandTriggerWasReleased | ( | ) |
Gets the Left hand's trigger was released state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
float GetRightHandGrip | ( | ) |
Gets the Right hand's grip value.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetRightHandGripPress | ( | ) |
Gets the Right hand's grip press.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetRightHandGripWasPressed | ( | ) |
Gets the Right hand's grip was pressed state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetRightHandGripWasReleased | ( | ) |
Gets the Right hand's grip was released state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
float3 GetRightHandPosition | ( | ) |
Gets the Right hand's position.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetRightHandPrimaryButtonPress | ( | ) |
Gets the Right hand's primary button press.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetRightHandPrimaryButtonWasPressed | ( | ) |
Gets the Right hand's primary button was pressed state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetRightHandPrimaryButtonWasReleased | ( | ) |
Gets the Right hand's primary button was released state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
quaternion GetRightHandRotation | ( | ) |
Gets the Right hand's rotation.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetRightHandSecondaryButtonPress | ( | ) |
Gets the Right hand's secondary button click.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetRightHandSecondaryButtonWasPressed | ( | ) |
Gets the Right hand's secondary button was pressed state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetRightHandSecondaryButtonWasReleased | ( | ) |
Gets the Right hand's secondary button was released state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
float2 GetRightHandThumbstick | ( | ) |
Gets the Right hand's thumbstick value.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
float GetRightHandTrigger | ( | ) |
Gets the Right hand's trigger value.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetRightHandTriggerPress | ( | ) |
Gets the Right hand's trigger press.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetRightHandTriggerWasPressed | ( | ) |
Gets the Right hand's trigger was pressed state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.
bool GetRightHandTriggerWasReleased | ( | ) |
Gets the Right hand's trigger was released state in one frame.
Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.