Create a new matrix from an array of 16 values.
Value to assign to the matrix using [n11, n21, n31, n41, n12, n22, n32, n42, n13, n23, n33, n43, n14, n24, n34, n44] format.
Private
mThe determinant of this 4x4 matrix.
Return true if this Transform is the identity transform
True if all values are 0, except for M33 which is 1.
Gets the transformation array.
Static
IdentityStatic
ZeroReturns the transform as an array.
Static
CombineConstructs a new transform by combining given transforms in order Note: as transforms multiplication is not commutative, the order matters. If none given, identity transform is returned.
The combined transform.
The transforms array.
Static
MirrorStatic
MultiplyStatic
MultiplyStatic
PlanarStatic
PlaneStatic
RotateConstructs a new rotation transformation with specified angle and rotation axis. This function assume the rotation origin is the world origin.
Angle (in Radians) of the rotation.
The axis to ratate around
Static
RotationStatic
RotationXStatic
RotationYStatic
RotationZStatic
RotationZYXCreate rotation transformation From ZYX angles.
Yaw: Angle in radians to rotate around Z axis.
Pitch: Angle in radians to rotate around Y axis.
Roll: Angle in radians to rotate around X axis.
Static
ScaleStatic
ScaleConstructs a new uniform scaling transformation. a sacle matrix looks like [ sx 0 0 0] [ 0 sy 0 0] [ 0 0 sz 0] [ 0 0 0 1]
The scaled transform
The scaling factor in the x dimension
The scaling factor in the y dimension
The scaling factor in the z dimension
Static
TranslationStatic
VectorStatic
frameHelper method for creating the transformation for an arbitrary Frame to an arbitrary Frame by mapping xy plane through the transformation
transformation matrix
Static
frameHelper method to map a point through an arbitrary Frame to an arbitray Frame transformation
transformed point
origin of the frame
x axis of the frame
y axis of the frame
z axis of the frame
origin of the frame
x axis of the frame
y axis of the frame
z axis of the frame
point to be transformed
Static
worldXYToGenerated using TypeDoc
Represents the values in a 4x4 transform matrix.