Struct Pose
Assembly: UnityEngine.dll
Syntax
[Serializable]
public struct Pose : IEquatable<Pose>
Constructors
|
Improve this Doc
View Source
Pose(Vector3, Quaternion)
Declaration
public Pose(Vector3 position, Quaternion rotation)
Parameters
Fields
|
Improve this Doc
View Source
position
Declaration
Field Value
|
Improve this Doc
View Source
rotation
Declaration
public Quaternion rotation
Field Value
Properties
|
Improve this Doc
View Source
forward
Declaration
public Vector3 forward { get; }
Property Value
|
Improve this Doc
View Source
identity
Declaration
public static Pose identity { get; }
Property Value
|
Improve this Doc
View Source
right
Declaration
public Vector3 right { get; }
Property Value
|
Improve this Doc
View Source
up
Declaration
public Vector3 up { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
Equals(Pose)
Declaration
public bool Equals(Pose other)
Parameters
Type |
Name |
Description |
Pose |
other |
|
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
Declaration
public Pose GetTransformedBy(Pose lhs)
Parameters
Type |
Name |
Description |
Pose |
lhs |
|
Returns
|
Improve this Doc
View Source
Declaration
public Pose GetTransformedBy(Transform lhs)
Parameters
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Improve this Doc
View Source
ToString(String)
Declaration
public string ToString(string format)
Parameters
Type |
Name |
Description |
String |
format |
|
Returns
Operators
|
Improve this Doc
View Source
Equality(Pose, Pose)
Declaration
public static bool operator ==(Pose a, Pose b)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(Pose, Pose)
Declaration
public static bool operator !=(Pose a, Pose b)
Parameters
Returns
Implements
Extension Methods