Matrix Methods

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

The Matrix type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAdd(Matrix, Matrix)
Determines the sum of two matrices.
Public methodStatic memberAdd(Matrix, Matrix, Matrix)
Determines the sum of two matrices.
Public methodStatic memberAffineTransformation(Single, Vector3, Quaternion, Vector3)
Creates a 3D affine transformation matrix.
Public methodStatic memberAffineTransformation(Single, Vector3, Quaternion, Vector3, Matrix)
Creates a 3D affine transformation matrix.
Public methodStatic memberAffineTransformation2D(Single, Vector2, Single, Vector2)
Creates a 2D affine transformation matrix.
Public methodStatic memberAffineTransformation2D(Single, Vector2, Single, Vector2, Matrix)
Creates a 2D affine transformation matrix.
Public methodStatic memberBillboard(Vector3, Vector3, Vector3, Vector3)
Creates a spherical billboard that rotates around a specified object position.
Public methodStatic memberBillboard(Vector3, Vector3, Vector3, Vector3, Matrix)
Creates a spherical billboard that rotates around a specified object position.
Public methodDecompose
Decomposes the matrix into its scalar, rotational, and translational elements.
Public methodDeterminant
Calculates the determinant of the matrix.
Public methodStatic memberDivide(Matrix, Matrix)
Determines the quotient of two matrices.
Public methodStatic memberDivide(Matrix, Single)
Scales a matrix by the given value.
Public methodStatic memberDivide(Matrix, Matrix, Matrix)
Determines the quotient of two matrices.
Public methodStatic memberDivide(Matrix, Single, Matrix)
Scales a matrix by the given value.
Public methodEquals(Object)
Returns a value that indicates whether the current instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Matrix)
Returns a value that indicates whether the current instance is equal to the specified object.
Public methodStatic memberEquals(Matrix, Matrix)
Determines whether the specified object instances are considered equal.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodInvert
Inverts the matrix.
Public methodStatic memberInvert(Matrix)
Calculates the inverse of the specified matrix.
Public methodStatic memberInvert(Matrix, Matrix)
Calculates the inverse of the specified matrix.
Public methodStatic memberLerp(Matrix, Matrix, Single)
Performs a linear interpolation between two matricies.
Public methodStatic memberLerp(Matrix, Matrix, Single, Matrix)
Performs a linear interpolation between two matricies.
Public methodStatic memberLookAtLH(Vector3, Vector3, Vector3)
Creates a left-handed, look-at matrix.
Public methodStatic memberLookAtLH(Vector3, Vector3, Vector3, Matrix)
Creates a left-handed, look-at matrix.
Public methodStatic memberLookAtRH(Vector3, Vector3, Vector3)
Creates a right-handed, look-at matrix.
Public methodStatic memberLookAtRH(Vector3, Vector3, Vector3, Matrix)
Creates a right-handed, look-at matrix.
Public methodStatic memberMultiply(Matrix, Matrix)
Determines the product of two matrices.
Public methodStatic memberMultiply(Matrix, Single)
Scales a matrix by the given value.
Public methodStatic memberMultiply(Matrix, Matrix, Matrix)
Determines the product of two matrices.
Public methodStatic memberMultiply(Matrix, Single, Matrix)
Scales a matrix by the given value.
Public methodStatic memberMultiply(Matrix, Matrix, Matrix)
Determines the products of of an array of matrices by a single matrix.
Public methodStatic memberMultiply(Matrix, Matrix, Matrix)
Determines the products of two arrays of matrices.
Public methodStatic memberMultiply(Matrix*, Matrix*, Matrix*, Int32)
Determines the products of two arrays of matrices.
Public methodStatic memberMultiply(Matrix, Matrix, Matrix, Int32, Int32)
Determines the products of of an array of matrices by a single matrix.
Public methodStatic memberMultiply(Matrix, Matrix, Matrix, Int32, Int32)
Determines the products of two arrays of matrices.
Public methodStatic memberNegate(Matrix)
Negates a matrix.
Public methodStatic memberNegate(Matrix, Matrix)
Negates a matrix.
Public methodStatic memberOrthoLH(Single, Single, Single, Single)
Creates a left-handed, orthographic projection matrix.
Public methodStatic memberOrthoLH(Single, Single, Single, Single, Matrix)
Creates a left-handed, orthographic projection matrix.
Public methodStatic memberOrthoOffCenterLH(Single, Single, Single, Single, Single, Single)
Creates a left-handed, customized orthographic projection matrix.
Public methodStatic memberOrthoOffCenterLH(Single, Single, Single, Single, Single, Single, Matrix)
Creates a left-handed, customized orthographic projection matrix.
Public methodStatic memberOrthoOffCenterRH(Single, Single, Single, Single, Single, Single)
Creates a right-handed, customized orthographic projection matrix.
Public methodStatic memberOrthoOffCenterRH(Single, Single, Single, Single, Single, Single, Matrix)
Creates a right-handed, customized orthographic projection matrix.
Public methodStatic memberOrthoRH(Single, Single, Single, Single)
Creates a right-handed, orthographic projection matrix.
Public methodStatic memberOrthoRH(Single, Single, Single, Single, Matrix)
Creates a right-handed, orthographic projection matrix.
Public methodStatic memberPerspectiveFovLH(Single, Single, Single, Single)
Creates a left-handed, perspective projection matrix based on a field of view.
Public methodStatic memberPerspectiveFovLH(Single, Single, Single, Single, Matrix)
Creates a left-handed, perspective projection matrix based on a field of view.
Public methodStatic memberPerspectiveFovRH(Single, Single, Single, Single)
Creates a right-handed, perspective projection matrix based on a field of view.
Public methodStatic memberPerspectiveFovRH(Single, Single, Single, Single, Matrix)
Creates a right-handed, perspective projection matrix based on a field of view.
Public methodStatic memberPerspectiveLH(Single, Single, Single, Single)
Creates a left-handed, perspective projection matrix.
Public methodStatic memberPerspectiveLH(Single, Single, Single, Single, Matrix)
Creates a left-handed, perspective projection matrix.
Public methodStatic memberPerspectiveOffCenterLH(Single, Single, Single, Single, Single, Single)
Creates a left-handed, customized perspective projection matrix.
Public methodStatic memberPerspectiveOffCenterLH(Single, Single, Single, Single, Single, Single, Matrix)
Creates a left-handed, customized perspective projection matrix.
Public methodStatic memberPerspectiveOffCenterRH(Single, Single, Single, Single, Single, Single)
Creates a right-handed, customized perspective projection matrix.
Public methodStatic memberPerspectiveOffCenterRH(Single, Single, Single, Single, Single, Single, Matrix)
Creates a right-handed, customized perspective projection matrix.
Public methodStatic memberPerspectiveRH(Single, Single, Single, Single)
Creates a right-handed, perspective projection matrix.
Public methodStatic memberPerspectiveRH(Single, Single, Single, Single, Matrix)
Creates a right-handed, perspective projection matrix.
Public methodStatic memberRotationAxis(Vector3, Single)
Creates a matrix that rotates around an arbitary axis.
Public methodStatic memberRotationAxis(Vector3, Single, Matrix)
Creates a matrix that rotates around an arbitary axis.
Public methodStatic memberRotationQuaternion(Quaternion)
Creates a rotation matrix from a quaternion.
Public methodStatic memberRotationQuaternion(Quaternion, Matrix)
Creates a rotation matrix from a quaternion.
Public methodStatic memberRotationX(Single)
Creates a matrix that rotates around the x-axis.
Public methodStatic memberRotationX(Single, Matrix)
Creates a matrix that rotates around the x-axis.
Public methodStatic memberRotationY(Single)
Creates a matrix that rotates around the y-axis.
Public methodStatic memberRotationY(Single, Matrix)
Creates a matrix that rotates around the y-axis.
Public methodStatic memberRotationYawPitchRoll(Single, Single, Single)
Creates a rotation matrix with a specified yaw, pitch, and roll.
Public methodStatic memberRotationYawPitchRoll(Single, Single, Single, Matrix)
Creates a rotation matrix with a specified yaw, pitch, and roll.
Public methodStatic memberRotationZ(Single)
Creates a matrix that rotates around the z-axis.
Public methodStatic memberRotationZ(Single, Matrix)
Creates a matrix that rotates around the z-axis.
Public methodStatic memberScaling(Vector3)
Creates a matrix that scales along the x-axis, y-axis, and y-axis.
Public methodStatic memberScaling(Vector3, Matrix)
Creates a matrix that scales along the x-axis, y-axis, and y-axis.
Public methodStatic memberScaling(Single, Single, Single)
Creates a matrix that scales along the x-axis, y-axis, and y-axis.
Public methodStatic memberScaling(Single, Single, Single, Matrix)
Creates a matrix that scales along the x-axis, y-axis, and y-axis.
Public methodStatic memberSubtract(Matrix, Matrix)
Determines the difference between two matrices.
Public methodStatic memberSubtract(Matrix, Matrix, Matrix)
Determines the difference between two matrices.
Public methodToArray
Public methodToString
Converts the value of the object to its equivalent string representation.
(Overrides ValueTypeToString.)
Public methodStatic memberTransformation(Vector3, Quaternion, Vector3, Vector3, Quaternion, Vector3)
Creates a transformation matrix.
Public methodStatic memberTransformation(Vector3, Quaternion, Vector3, Vector3, Quaternion, Vector3, Matrix)
Creates a transformation matrix.
Public methodStatic memberTransformation2D(Vector2, Single, Vector2, Vector2, Single, Vector2)
Creates a 2D transformation matrix.
Public methodStatic memberTransformation2D(Vector2, Single, Vector2, Vector2, Single, Vector2, Matrix)
Creates a 2D transformation matrix.
Public methodStatic memberTranslation(Vector3)
Creates a translation matrix using the specified offsets.
Public methodStatic memberTranslation(Vector3, Matrix)
Creates a translation matrix using the specified offsets.
Public methodStatic memberTranslation(Single, Single, Single)
Creates a translation matrix using the specified offsets.
Public methodStatic memberTranslation(Single, Single, Single, Matrix)
Creates a translation matrix using the specified offsets.
Public methodStatic memberTranspose(Matrix)
Calculates the transpose of the specified matrix.
Public methodStatic memberTranspose(Matrix, Matrix)
Calculates the transpose of the specified matrix.
Top
See Also

Reference