Click or drag to resize

Basis Constructor

Overload List
  NameDescription
Public methodBasis(Quat)
Constructs a pure rotation basis matrix from the given quaternion.
Public methodBasis(Vector3)
Constructs a pure rotation basis matrix from the given Euler angles (in the YXZ convention: when *composing*, first Y, then X, and Z last), given in the vector format as (X angle, Y angle, Z angle). Consider using the Basis(Quat) constructor instead, which uses a Quat quaternion instead of Euler angles.
Public methodBasis(Vector3, Single)
Constructs a pure rotation basis matrix, rotated around the given `axis` by `phi` (in radians). The axis must be a normalized vector.
Public methodBasis(Vector3, Vector3, Vector3)
Constructs a basis matrix from 3 axis vectors (matrix columns).
Top
See Also