Pose

Pose represents a location and orientation in space, excluding scale!

Instance Fields and Properties

   
Quat orientation Orientation of the pose, stored as a rotation from Vec3.Forward.
Vec3 position Location of the pose.

Instance Methods

   
Pose Basic initialization constructor! Just copies in the provided values directly.
ToMatrix Converts this pose into a transform matrix, incorporating a provided scale value.

Static Fields and Properties

   
Vec3 Forward Calculates the forward direction from this pose. This is done by multiplying the orientation with Vec3.Forward. Remember that Forward points down the -Z axis!
Vec3 Right Calculates the right (+X) direction from this pose. This is done by multiplying the orientation with Vec3.Right.
Vec3 Up Calculates the up (+Y) direction from this pose. This is done by multiplying the orientation with Vec3.Up.

Static Methods

   
Lerp Interpolates between two poses! t is unclamped, so values outside of (0,1) will extrapolate their position.