Public Member Functions |
Static Public Member Functions |
Public Attributes |
Properties |
List of all members
OVRPose Struct Reference
An affine transformation built from a Unity position and orientation. More...
Public Member Functions | |
override bool | Equals (System.Object obj) |
override int | GetHashCode () |
OVRPose | Inverse () |
Computes the inverse of the given pose. More... | |
OVRPose | flipZ () |
Converts the pose from left- to right-handed or vice-versa. More... | |
OVRPlugin.Posef | ToPosef_Legacy () |
OVRPlugin.Posef | ToPosef () |
Static Public Member Functions | |
static bool | operator== (OVRPose x, OVRPose y) |
static bool | operator!= (OVRPose x, OVRPose y) |
static OVRPose | operator* (OVRPose lhs, OVRPose rhs) |
Multiplies two poses. More... | |
Public Attributes | |
Vector3 | position |
The position. More... | |
Quaternion | orientation |
The orientation. More... | |
Properties | |
static OVRPose | identity [get] |
A pose with no translation or rotation. More... | |
Detailed Description
An affine transformation built from a Unity position and orientation.
Member Function Documentation
◆ Equals()
override bool OVRPose.Equals | ( | System.Object | obj | ) |
◆ flipZ()
OVRPose OVRPose.flipZ | ( | ) |
Converts the pose from left- to right-handed or vice-versa.
◆ GetHashCode()
override int OVRPose.GetHashCode | ( | ) |
◆ Inverse()
OVRPose OVRPose.Inverse | ( | ) |
Computes the inverse of the given pose.
◆ operator!=()
◆ operator*()
◆ operator==()
◆ ToPosef()
OVRPlugin.Posef OVRPose.ToPosef | ( | ) |
◆ ToPosef_Legacy()
OVRPlugin.Posef OVRPose.ToPosef_Legacy | ( | ) |
Member Data Documentation
◆ orientation
Quaternion OVRPose.orientation |
The orientation.
◆ position
Vector3 OVRPose.position |
The position.
Property Documentation
◆ identity
|
staticget |
A pose with no translation or rotation.
The documentation for this struct was generated from the following file:
- Oculus/VR/Scripts/OVRCommon.cs