Pose
Representation of a Position, and a Rotation in 3D Space
Read time 1 minuteLast updated 4 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 | Transforms the current pose into the local space of the provided pose. |
Operators
Operator | Description |
|---|
| operator == | Returns true if two poses are equal. |
| operator != | Returns true if two poses are not equal. |