Kanda Players 0.7.0
Loading...
Searching...
No Matches
IOpenXrInputCollector Interface Reference

Collects player-related inputs from OpenXR. More...

+ Inheritance diagram for IOpenXrInputCollector:

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.
 
- Public Member Functions inherited from IInputCollector
void Enable ()
 Enable the input collector, prompting it to set up and enable appropriate input actions.
 

Additional Inherited Members

- Properties inherited from IInputCollector
bool IsEnabled [get]
 True if the input collector has been enabled.
 

Detailed Description

Collects player-related inputs from OpenXR.

Member Function Documentation

◆ GetHmdPosition()

float3 GetHmdPosition ( )

Gets the floor-tracked position of the Head Mounted Device.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetHmdRotation()

quaternion GetHmdRotation ( )

Gets the rotation of the Head Mounted Device.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandGrip()

float GetLeftHandGrip ( )

Gets the Left hand's grip value.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandGripPress()

bool GetLeftHandGripPress ( )

Gets the Left hand's grip press.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandGripWasPressed()

bool GetLeftHandGripWasPressed ( )

Gets the Left hand's grip was pressed state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandGripWasReleased()

bool GetLeftHandGripWasReleased ( )

Gets the Left hand's grip was released state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandPosition()

float3 GetLeftHandPosition ( )

Gets the Left hand's position.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandPrimaryButtonPress()

bool GetLeftHandPrimaryButtonPress ( )

Gets the Left hand's primary button press.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandPrimaryButtonWasPressed()

bool GetLeftHandPrimaryButtonWasPressed ( )

Gets the Left hand's primary button was pressed state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandPrimaryButtonWasReleased()

bool GetLeftHandPrimaryButtonWasReleased ( )

Gets the Left hand's primary button was released state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandRotation()

quaternion GetLeftHandRotation ( )

Gets the Left hand's rotation.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandSecondaryButtonPress()

bool GetLeftHandSecondaryButtonPress ( )

Gets the Left hand's secondary button press.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandSecondaryButtonWasPressed()

bool GetLeftHandSecondaryButtonWasPressed ( )

Gets the Left hand's secondary button was pressed state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandSecondaryButtonWasReleased()

bool GetLeftHandSecondaryButtonWasReleased ( )

Gets the Left hand's secondary button was released state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandThumbstick()

float2 GetLeftHandThumbstick ( )

Gets the Left hand's thumbstick value.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandTrigger()

float GetLeftHandTrigger ( )

Gets the Left hand's trigger value.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandTriggerPress()

bool GetLeftHandTriggerPress ( )

Gets the Left hand's trigger press.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandTriggerWasPressed()

bool GetLeftHandTriggerWasPressed ( )

Gets the Left hand's trigger was pressed state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetLeftHandTriggerWasReleased()

bool GetLeftHandTriggerWasReleased ( )

Gets the Left hand's trigger was released state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandGrip()

float GetRightHandGrip ( )

Gets the Right hand's grip value.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandGripPress()

bool GetRightHandGripPress ( )

Gets the Right hand's grip press.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandGripWasPressed()

bool GetRightHandGripWasPressed ( )

Gets the Right hand's grip was pressed state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandGripWasReleased()

bool GetRightHandGripWasReleased ( )

Gets the Right hand's grip was released state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandPosition()

float3 GetRightHandPosition ( )

Gets the Right hand's position.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandPrimaryButtonPress()

bool GetRightHandPrimaryButtonPress ( )

Gets the Right hand's primary button press.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandPrimaryButtonWasPressed()

bool GetRightHandPrimaryButtonWasPressed ( )

Gets the Right hand's primary button was pressed state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandPrimaryButtonWasReleased()

bool GetRightHandPrimaryButtonWasReleased ( )

Gets the Right hand's primary button was released state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandRotation()

quaternion GetRightHandRotation ( )

Gets the Right hand's rotation.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandSecondaryButtonPress()

bool GetRightHandSecondaryButtonPress ( )

Gets the Right hand's secondary button click.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandSecondaryButtonWasPressed()

bool GetRightHandSecondaryButtonWasPressed ( )

Gets the Right hand's secondary button was pressed state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandSecondaryButtonWasReleased()

bool GetRightHandSecondaryButtonWasReleased ( )

Gets the Right hand's secondary button was released state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandThumbstick()

float2 GetRightHandThumbstick ( )

Gets the Right hand's thumbstick value.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandTrigger()

float GetRightHandTrigger ( )

Gets the Right hand's trigger value.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandTriggerPress()

bool GetRightHandTriggerPress ( )

Gets the Right hand's trigger press.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandTriggerWasPressed()

bool GetRightHandTriggerWasPressed ( )

Gets the Right hand's trigger was pressed state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.

◆ GetRightHandTriggerWasReleased()

bool GetRightHandTriggerWasReleased ( )

Gets the Right hand's trigger was released state in one frame.

Implemented in OpenXrInputCollector, and VirtualOpenXrInputCollector.


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