static void | Assigns a Pose to a given transform. |
static Pose | Extract the position/rotation of a given transform. |
static void | Compose two poses, applying the first to the second one. |
static Pose | |
static void | Compose two poses, applying the provided one on top of the caller. |
static void | Compose two poses, applying the caller on top of the provided pose. |
static void | Moves the calling pose towards a target one using interpolation. |
static void | Interpolation between two poses. |
static void | |
static void | Invert ( this ref Pose a ) |
static void | |
static Pose | Get the position/rotation difference between two transforms. |
static Pose | Get the position/rotation difference between a transform and a pose. |
static void | Get the position/rotation difference between a transform and a pose. |
static Pose | Get the position/rotation difference between two poses. |
static Pose | Get the position/rotation difference between two transforms. |
static Pose | Get the position/rotation difference between a transform and a pose. |
static Pose | Get the world position/rotation of a relative position. |
static Pose | Get the world position/rotation of a relative position. |
static Pose | Rotate a pose around an axis. |
static void Oculus.Interaction.PoseUtils.SetPose ( this Transform transform, in Pose pose, Space space ) |
---|
Assigns a Pose to a given transform. Parameters transform The transform to which apply the pose. poseThe desired pose. spaceIf the pose should be applied to the local position/rotation or world position/rotation. |
static Pose Oculus.Interaction.PoseUtils.GetPose ( this Transform transform, Space space ) |
---|
Extract the position/rotation of a given transform. Parameters transform The transform from which to extract the pose. spaceIf the desired position/rotation is the world or local one. Returns A Pose containing the position/rotation of the transform. |
static void Oculus.Interaction.PoseUtils.Multiply ( in Pose a, in Pose b, ref Pose result ) |
---|
Compose two poses, applying the first to the second one. Parameters a First pose to compose. bPose to compose over the first one. resultA Pose with the two operands applied. |
static Pose Oculus.Interaction.PoseUtils.Multiply ( in Pose a, in Pose b ) |
---|
No description available.
|
static void Oculus.Interaction.PoseUtils.Premultiply ( this ref Pose a, in Pose b ) |
---|
Compose two poses, applying the provided one on top of the caller. Parameters a Pose to compose upon. bPose to compose over the first one. |
static void Oculus.Interaction.PoseUtils.Postmultiply ( this ref Pose a, in Pose b ) |
---|
Compose two poses, applying the caller on top of the provided pose. Parameters a Pose to compose upon. bPose to compose over the first one. |
static void Oculus.Interaction.PoseUtils.Lerp ( this ref Pose from, in Pose to, float t ) |
---|
Moves the calling pose towards a target one using interpolation. Parameters from Original pose to interpolate from toTarget pose for the interpolation. tInterpolation factor, normalized but will not be clamped. |
static void Oculus.Interaction.PoseUtils.Lerp ( in Pose from, in Pose to, float t, ref Pose result ) |
---|
Interpolation between two poses. Parameters from From pose. toTo pose. tInterpolation factor, normalized but will not be clamped. resultA Pose between a and b |
static void Oculus.Interaction.PoseUtils.Inverse ( in Pose a, ref Pose result ) |
---|
No description available.
|
static void Oculus.Interaction.PoseUtils.Invert ( this ref Pose a ) |
---|
No description available.
|
static void Oculus.Interaction.PoseUtils.CopyFrom ( this ref Pose to, in Pose from ) |
---|
No description available.
|
static Pose Oculus.Interaction.PoseUtils.Delta ( this Transform from, Transform to ) |
---|
Get the position/rotation difference between two transforms. Unaffected by scale. Parameters from The base transform. toThe target transform. Returns A Pose indicating the position/rotation change |
static Pose Oculus.Interaction.PoseUtils.Delta ( this Transform from, in Pose to ) |
---|
Get the position/rotation difference between a transform and a pose. Unaffected by scale. Parameters from The base transform. toThe target pose. Returns A Pose indicating the delta. |
static void Oculus.Interaction.PoseUtils.Delta ( this Transform from, in Pose to, ref Pose result ) |
---|
Get the position/rotation difference between a transform and a pose. Unaffected by scale. Parameters from The base transform. toThe target pose. resultOutput: The pose with the delta |
static Pose Oculus.Interaction.PoseUtils.Delta ( in Pose from, in Pose to ) |
---|
Get the position/rotation difference between two poses. Unaffected by scale. Parameters from The base pose. toThe target pose. Returns A Pose indicating the delta. |
static Pose Oculus.Interaction.PoseUtils.DeltaScaled ( Transform from, Transform to ) |
---|
Get the position/rotation difference between two transforms. Affected by the scale of from. Parameters from The base transform. toThe target transform. Returns Output: The pose with the delta |
static Pose Oculus.Interaction.PoseUtils.DeltaScaled ( Transform from, Pose to ) |
---|
Get the position/rotation difference between a transform and a pose. Affected by the scale of from. Parameters from The base transform. toThe target pose. Returns The pose with the delta |
static Pose Oculus.Interaction.PoseUtils.GlobalPose ( this Transform reference, in Pose offset ) |
---|
Get the world position/rotation of a relative position. Unaffected by scale. Parameters reference The transform in which the offset is local. offsetThe offset from the reference. Returns A Pose in world units. |
static Pose Oculus.Interaction.PoseUtils.GlobalPoseScaled ( Transform relativeTo, Pose offset ) |
---|
Get the world position/rotation of a relative position. Affected by the scale of the transform. Parameters relativeTo The transform in which the offset is local. offsetThe offset from the reference. Returns A Pose in world units. |
static Pose Oculus.Interaction.PoseUtils.MirrorPoseRotation ( this in Pose pose, Vector3 normal, Vector3 tangent ) |
---|
Rotate a pose around an axis. Parameters pose The pose to mirror. normalThe direction of the mirror. tangentThe tangent of the mirror. Returns A mirrored pose. |