Click or drag to resize

Matrix4x4 Methods

The Matrix4x4 type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd
Adds two matrices together.
Public methodStatic memberCreateBillboard
Creates a spherical billboard that rotates around a specified object position.
Public methodStatic memberCreateConstrainedBillboard
Creates a cylindrical billboard that rotates around a specified axis.
Public methodStatic memberCreateFromAxisAngle
Creates a matrix that rotates around an arbitrary vector.
Public methodStatic memberCreateFromQuaternion
Creates a rotation matrix from the given Quaternion rotation value.
Public methodStatic memberCreateFromYawPitchRoll
Creates a rotation matrix from the specified yaw, pitch, and roll.
Public methodStatic memberCreateLookAt
Creates a view matrix.
Public methodStatic memberCreateOrthographic
Creates an orthographic perspective matrix from the given view volume dimensions.
Public methodStatic memberCreateOrthographicOffCenter
Builds a customized, orthographic projection matrix.
Public methodStatic memberCreatePerspective
Creates a perspective projection matrix from the given view volume dimensions.
Public methodStatic memberCreatePerspectiveFieldOfView
Creates a perspective projection matrix based on a field of view, aspect ratio, and near and far view plane distances.
Public methodStatic memberCreatePerspectiveOffCenter
Creates a customized, perspective projection matrix.
Public methodStatic memberCreateRotationX(Double)
Creates a matrix for rotating points around the X-axis.
Public methodStatic memberCreateRotationX(Double, Vector3)
Creates a matrix for rotating points around the X-axis, from a center point.
Public methodStatic memberCreateRotationY(Double)
Creates a matrix for rotating points around the Y-axis.
Public methodStatic memberCreateRotationY(Double, Vector3)
Creates a matrix for rotating points around the Y-axis, from a center point.
Public methodStatic memberCreateRotationZ(Double)
Creates a matrix for rotating points around the Z-axis.
Public methodStatic memberCreateRotationZ(Double, Vector3)
Creates a matrix for rotating points around the Z-axis, from a center point.
Public methodStatic memberCreateScale(Double)
Creates a uniform scaling matrix that scales equally on each axis.
Public methodStatic memberCreateScale(Vector3)
Creates a scaling matrix.
Public methodStatic memberCreateScale(Double, Vector3)
Creates a uniform scaling matrix that scales equally on each axis with a center point.
Public methodStatic memberCreateScale(Vector3, Vector3)
Creates a scaling matrix with a center point.
Public methodStatic memberCreateScale(Double, Double, Double)
Creates a scaling matrix.
Public methodStatic memberCreateScale(Double, Double, Double, Vector3)
Creates a scaling matrix with a center point.
Public methodStatic memberCreateTranslation(Vector3)
Creates a translation matrix.
Public methodStatic memberCreateTranslation(Double, Double, Double)
Creates a translation matrix.
Public methodStatic memberCreateWorld
Creates a world matrix with the specified parameters.
Public methodEquals(Object)
Returns a boolean indicating whether the given Object is equal to this matrix instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Matrix4x4)
Returns a boolean indicating whether this matrix instance is equal to the other given matrix.
Public methodGetDeterminant
Calculates the determinant of the matrix.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberInvert
Attempts to calculate the inverse of the given matrix. If successful, result will contain the inverted matrix.
Public methodStatic memberLerp
Linearly interpolates between the corresponding values of two matrices.
Public methodStatic memberMultiply(Matrix4x4, Matrix4x4)
Multiplies a matrix by another matrix.
Public methodStatic memberMultiply(Matrix4x4, Double)
Multiplies a matrix by a scalar value.
Public methodStatic memberNegate
Returns a new matrix with the negated elements of the given matrix.
Public methodStatic memberSubtract
Subtracts the second matrix from the first.
Public methodToString
Returns a String representing this matrix instance.
(Overrides ValueTypeToString.)
Public methodStatic memberTransform
Transforms the given matrix by applying the given Quaternion rotation.
Public methodStatic memberTranspose
Transposes the rows and columns of a matrix.
Top
See Also