Inherits XR::Input.
|
|
| AZ_CLASS_ALLOCATOR (Input, AZ::SystemAllocator) |
| |
|
| AZ_RTTI (Input, "{97ADD1FE-27DF-4F36-9F61-683F881F9477}", XR::Input) |
| |
| bool | UpdateXrSpaceLocations (const OpenXRVk::Device &device, XrTime predictedDisplayTime, AZStd::vector< XrView > &xrViews) |
| |
| void | PollActions () |
| |
|
AZ::RHI::ResultCode | InitializeActionSpace (XrSession xrSession) |
| | Create controller action spaces.
|
| |
|
AZ::RHI::ResultCode | InitializeActionSets (XrSession xrSession) const |
| | Attach action sets.
|
| |
|
void | LocateControllerSpace (XrTime predictedDisplayTime, XrSpace baseSpace, AZ::u32 handIndex) |
| | Updates a Controller/Joystick pose.
|
| |
|
void | LocateVisualizedSpace (XrTime predictedDisplayTime, XrSpace space, XrSpace baseSpace, OpenXRVk::SpaceType visualizedSpaceType) |
| | Update pose information for the view.
|
| |
| AZ::RHI::ResultCode | GetControllerPose (AZ::u32 handIndex, AZ::RPI::PoseData &outPoseData, bool convertToO3de=true) const |
| |
|
AZ::RHI::ResultCode | GetControllerTransform (AZ::u32 handIndex, AZ::Transform &outTransform, bool convertToO3de=true) const |
| | Same as above but returns the pose data as an AZ::Transform. The AZ::Transform also includes the controller scale.
|
| |
|
float | GetControllerScale (AZ::u32 handIndex) const |
| | Returns scale for a controller attached to a hand index.
|
| |
| AZ::RHI::ResultCode | GetVisualizedSpacePose (OpenXRVk::SpaceType visualizedSpaceType, AZ::RPI::PoseData &outPoseData, bool convertToO3de=true) const |
| |
|
AZ::RHI::ResultCode | GetVisualizedSpaceTransform (OpenXRVk::SpaceType visualizedSpaceType, AZ::Transform &outTransform, bool convertToO3de=true) const |
| | Same as above but returns the pose data as an AZ::Transform.
|
| |
|
XrAction | GetSqueezeAction (AZ::u32 handIndex) const |
| | Get the Squeeze action.
|
| |
|
XrAction | GetPoseAction (AZ::u32 handIndex) const |
| | Get the Pose action.
|
| |
|
XrAction | GetVibrationAction () const |
| | Get the Vibration action.
|
| |
|
XrAction | GetQuitAction () const |
| | Get the Quit action.
|
| |
|
bool | GetButtonState (const AzFramework::InputChannelId &channelId) const |
| | Get any button state.
|
| |
|
bool | GetXButtonState () const |
| | Get the X button state.
|
| |
|
bool | GetYButtonState () const |
| | Get the Y button state.
|
| |
|
bool | GetAButtonState () const |
| | Get the A button state.
|
| |
|
bool | GetBButtonState () const |
| | Get the B button state.
|
| |
|
float | GetXJoyStickState (AZ::u32 handIndex) const |
| | Get the joystick state for x-axis.
|
| |
|
float | GetYJoyStickState (AZ::u32 handIndex) const |
| | Get the joystick state for y-axis.
|
| |
|
float | GetSqueezeState (AZ::u32 handIndex) const |
| | Get the Squeeze action.
|
| |
|
float | GetTriggerState (AZ::u32 handIndex) const |
| | Get the Squeeze action.
|
| |