Pose
Representation of a Position, and a Rotation in 3D Space
Read time 1 minuteLast updated 9 days ago
Definition
public struct Pose : IEquatable<Pose>, IFormattable
This structure is used primarily in XR applications to describe the current "pose" of a device in 3D space.
Fields
Value | Description |
|---|
| position | The position component of the pose. |
| rotation | The rotation component of the pose. |
Constructors
Properties
Property | Description |
|---|
| forward | Returns the forward vector of the pose. |
| right | Returns the right vector of the pose. |
| up | Returns the up vector of the pose. |
Static Properties
Property | Description |
|---|
| identity | Shorthand for pose which represents zero position, and an identity rotation. |
Methods
Method | Description |
|---|
| GetTransformedBy | Obtains a new pose by applying the position and rotation of another pose to this pose. |
Operators