Open 3D Engine OpenXRVk Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
OpenXRVk::PoseWithVelocities Struct Referencefinal

#include <OpenXRVkActionsInterface.h>

Public Member Functions

 AZ_TYPE_INFO (PoseWithVelocities, "{AF5B9FF7-FB02-4DA4-89FB-66E605F728E2}")
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

AZ::Transform m_pose
 
AZ::Vector3 m_linearVelocity
 
AZ::Vector3 m_angularVelocity
 

Detailed Description

In addition to reading the current Pose of a particular Action it is also possible to read both the linear and angular Velocity of an action. When calling IOpenXRActions::GetActionStatePoseWithVelocities() this is the returned data.

Member Data Documentation

◆ m_linearVelocity

AZ::Vector3 OpenXRVk::PoseWithVelocities::m_linearVelocity

To know more about how to interpret Linear and Angular Velocity see: https://registry.khronos.org/OpenXR/specs/1.0/man/html/XrSpaceVelocity.html

◆ m_pose

AZ::Transform OpenXRVk::PoseWithVelocities::m_pose

The current pose of the Action Space relative to the Reference Space defined by IOpenXRActions::SetBaseReferenceSpaceForPoseActions(). If IOpenXRActions::SetBaseReferenceSpaceForPoseActions() is never called then this transform will be relative to the "View" Reference Space.


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