Struct MixedRealityPose
Implements
IEqualityComparer
Assembly: cs.temp.dll.dll
[Serializable]
public struct MixedRealityPose : IEqualityComparer
Constructors
Declaration
public MixedRealityPose(Quaternion rotation)
Parameters
Type |
Name |
Description |
Quaternion |
rotation |
|
Declaration
public MixedRealityPose(Vector3 position)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Declaration
public MixedRealityPose(Vector3 position, Quaternion rotation)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Quaternion |
rotation |
|
Properties
The Z axis of the pose in world space.
Declaration
public Vector3 Forward { get; }
Property Value
The position of the pose.
Declaration
public Vector3 Position { get; set; }
Property Value
The X axis of the pose in world space.
Declaration
public Vector3 Right { get; }
Property Value
The rotation of the pose.
Declaration
public Quaternion Rotation { get; set; }
Property Value
Type |
Description |
Quaternion |
|
The Y axis of the pose in world space.
Declaration
public Vector3 Up { get; }
Property Value
The default value for a Six DoF Transform.
Declaration
public static MixedRealityPose ZeroIdentity { get; }
Property Value
Methods
Declaration
public bool Equals(MixedRealityPose other)
Parameters
Returns
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Declaration
public override int GetHashCode()
Returns
Overrides
Declaration
public override string ToString()
Returns
Overrides
Operators
Declaration
public static MixedRealityPose operator +(MixedRealityPose left, MixedRealityPose right)
Parameters
Returns
Declaration
public static bool operator ==(MixedRealityPose left, MixedRealityPose right)
Parameters
Returns
Declaration
public static bool operator !=(MixedRealityPose left, MixedRealityPose right)
Parameters
Returns
Returns right-hand MixedRealityPose transformed by left-hand MixedRealityPose.
Declaration
public static MixedRealityPose operator *(MixedRealityPose left, MixedRealityPose right)
Parameters
Returns
Implements
IEqualityComparer