Click or drag to resize

Matrix3x2 Methods

The Matrix3x2 type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd
Adds each matrix element in value1 with its corresponding element in value2.
Public methodStatic memberCreateRotation(Double)
Creates a rotation matrix using the given rotation in radians.
Public methodStatic memberCreateRotation(Double, Vector2)
Creates a rotation matrix using the given rotation in radians and a center point.
Public methodStatic memberCreateScale(Double)
Creates a scale matrix that scales uniformly with the given scale.
Public methodStatic memberCreateScale(Vector2)
Creates a scale matrix from the given vector scale.
Public methodStatic memberCreateScale(Double, Vector2)
Creates a scale matrix that scales uniformly with the given scale with an offset from the given center.
Public methodStatic memberCreateScale(Double, Double)
Creates a scale matrix from the given X and Y components.
Public methodStatic memberCreateScale(Vector2, Vector2)
Creates a scale matrix from the given vector scale with an offset from the given center point.
Public methodStatic memberCreateScale(Double, Double, Vector2)
Creates a scale matrix that is offset by a given center point.
Public methodStatic memberCreateSkew(Double, Double)
Creates a skew matrix from the given angles in radians.
Public methodStatic memberCreateSkew(Double, Double, Vector2)
Creates a skew matrix from the given angles in radians and a center point.
Public methodStatic memberCreateTranslation(Vector2)
Creates a translation matrix from the given vector.
Public methodStatic memberCreateTranslation(Double, Double)
Creates a translation matrix from the given X and Y components.
Public methodEquals(Object)
Returns a boolean indicating whether the given Object is equal to this matrix instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Matrix3x2)
Returns a boolean indicating whether the matrix is equal to the other given matrix.
Public methodGetDeterminant
Calculates the determinant for this matrix. The determinant is calculated by expanding the matrix with a third column whose values are (0,0,1).
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 invert the given matrix. If the operation succeeds, the inverted matrix is stored in the result parameter.
Public methodStatic memberLerp
Linearly interpolates from matrix1 to matrix2, based on the third parameter.
Public methodStatic memberMultiply(Matrix3x2, Matrix3x2)
Multiplies two matrices together and returns the resulting matrix.
Public methodStatic memberMultiply(Matrix3x2, Double)
Scales all elements in a matrix by the given scalar factor.
Public methodStatic memberNegate
Negates the given matrix by multiplying all values by -1.
Public methodStatic memberSubtract
Subtracts each matrix element in value2 from its corresponding element in value1.
Public methodToString
Returns a String representing this matrix instance.
(Overrides ValueTypeToString.)
Top
See Also