Summary
A struct containing a position, rotation and scale. This is commonly used in engine to describe
entity position, bone position and scene object position.
Fields
Position |
Position of the transform.
|
Rotation |
Rotation of this transform.
|
Scale |
Scale of the transform. Does not itself scale Transform.Position or Transform.Rotation.
|
Properties
Backward |
|
Down |
|
Forward |
|
ForwardRay |
Return a ray from this transform, which goes from the center along the Forward
|
IsValid |
Returns true if position, scale and rotation are valid
|
Left |
|
Right |
|
UniformScale |
A uniform scale component. Generally the scale is uniform, and we'll just access the .x component.
|
Up |
|
Methods
Static Fields
Zero |
Represents a zero transform, that being, a transform with scale of 1, position of Vector3.Zero and rotation of Rotation.Identity.
|
Static Methods