Kanda Players 0.7.0
|
Allows for imitating VR players in the editor by using Keyboard and Mouse input to set the state of "virtual" XR devices. More...
Public Member Functions | |
void | Enable () |
Enable the input collector, prompting it to set up and enable appropriate input actions. | |
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 | Dispose () |
Properties | |
bool | IsEnabled [get] |
True if the input collector has been enabled. | |
![]() |
Allows for imitating VR players in the editor by using Keyboard and Mouse input to set the state of "virtual" XR devices.
|
inline |
Enable the input collector, prompting it to set up and enable appropriate input actions.
Implements IInputCollector.
|
inline |
Gets the floor-tracked position of the Head Mounted Device.
Implements IOpenXrInputCollector.
|
inline |
Gets the rotation of the Head Mounted Device.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's grip value.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's grip press.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's grip was pressed state in one frame.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's grip was released state in one frame.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's position.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's primary button press.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's primary button was pressed state in one frame.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's primary button was released state in one frame.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's rotation.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's secondary button press.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's secondary button was pressed state in one frame.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's secondary button was released state in one frame.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's thumbstick value.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's trigger value.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's trigger press.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's trigger was pressed state in one frame.
Implements IOpenXrInputCollector.
|
inline |
Gets the Left hand's trigger was released state in one frame.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's grip value.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's grip press.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's grip was pressed state in one frame.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's grip was released state in one frame.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's position.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's primary button press.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's primary button was pressed state in one frame.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's primary button was released state in one frame.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's rotation.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's secondary button click.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's secondary button was pressed state in one frame.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's secondary button was released state in one frame.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's thumbstick value.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's trigger value.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's trigger press.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's trigger was pressed state in one frame.
Implements IOpenXrInputCollector.
|
inline |
Gets the Right hand's trigger was released state in one frame.
Implements IOpenXrInputCollector.
|
get |
True if the input collector has been enabled.
Implements IInputCollector.