Assembly: VRage.Math.dll

public struct Matrix3x3: IEquatable<Matrix3x3>

Defines a matrix.

Fields

Member Description
static Identity
static Zero
M11 Value at row 1 column 1 of the matrix.
M12 Value at row 1 column 2 of the matrix.
M13 Value at row 1 column 3 of the matrix.
M21 Value at row 2 column 1 of the matrix.
M22 Value at row 2 column 2 of the matrix.
M23 Value at row 2 column 3 of the matrix.
M31 Value at row 3 column 1 of the matrix.
M32 Value at row 3 column 2 of the matrix.
M33 Value at row 3 column 3 of the matrix.

Properties

Member Description
Backward Gets and sets the backward vector of the Matrix3x3.
Col0
Col1
Col2
Down Gets and sets the down vector of the Matrix3x3.
Forward Gets and sets the forward vector of the Matrix3x3.
Item
Left Gets and sets the left vector of the Matrix3x3.
Right Gets and sets the right vector of the Matrix3x3.
Scale
Up Gets and sets the up vector of the Matrix3x3.

Constructors

Member Description
Matrix3x3(float, float, float, float, float, float, float, float, float)
Matrix3x3(Matrix3x3)
Matrix3x3(MatrixD)

Methods

Member Description
static Add(ref Matrix3x3, ref Matrix3x3, out Matrix3x3) Adds a matrix to another matrix.
static AlignRotationToAxes(ref Matrix3x3, ref Matrix3x3)
static CreateFromAxisAngle(Vector3, float) Creates a new Matrix3x3 that rotates around an arbitrary vector.
static CreateFromAxisAngle(ref Vector3, float, out Matrix3x3) Creates a new Matrix3x3 that rotates around an arbitrary vector.
static CreateFromDir(Vector3)
static CreateFromDir(Vector3, Vector3)
static CreateFromQuaternion(Quaternion) Creates a rotation Matrix3x3 from a Quaternion.
static CreateFromQuaternion(ref Quaternion, out Matrix3x3) Creates a rotation Matrix3x3 from a Quaternion.
static CreateFromYawPitchRoll(float, float, float) Creates a new rotation matrix from a specified yaw, pitch, and roll.
static CreateFromYawPitchRoll(float, float, float, out Matrix3x3) Fills in a rotation matrix from a specified yaw, pitch, and roll.
static CreateRotationFromTwoVectors(ref Vector3, ref Vector3, out Matrix3x3)
static CreateRotationX(float) Returns a matrix that can be used to rotate a set of vertices around the x-axis.
static CreateRotationX(float, out Matrix3x3) Populates data into a user-specified matrix that can be used to rotate a set of vertices around the x-axis.
static CreateRotationY(float) Returns a matrix that can be used to rotate a set of vertices around the y-axis.
static CreateRotationY(float, out Matrix3x3) Populates data into a user-specified matrix that can be used to rotate a set of vertices around the y-axis.
static CreateRotationZ(float) Returns a matrix that can be used to rotate a set of vertices around the z-axis.
static CreateRotationZ(float, out Matrix3x3) Populates data into a user-specified matrix that can be used to rotate a set of vertices around the z-axis.
static CreateScale(float, float, float) Creates a scaling Matrix3x3.
static CreateScale(float, float, float, out Matrix3x3) Creates a scaling Matrix3x3.
static CreateScale(Vector3) Creates a scaling Matrix3x3.
static CreateScale(ref Vector3, out Matrix3x3) Creates a scaling Matrix3x3.
static CreateScale(float) Creates a scaling Matrix3x3.
static CreateScale(float, out Matrix3x3) Creates a scaling Matrix3x3.
static CreateWorld(ref Vector3, ref Vector3) Creates a world matrix with the specified parameters.
static Divide(ref Matrix3x3, ref Matrix3x3, out Matrix3x3) Divides the components of a matrix by the corresponding components of another matrix.
static Divide(ref Matrix3x3, float, out Matrix3x3) Divides the components of a matrix by a scalar.
static GetEulerAnglesXYZ(ref Matrix3x3, out Vector3)
static Invert(ref Matrix3x3, out Matrix3x3) Calculates the inverse of a matrix.
static Lerp(ref Matrix3x3, ref Matrix3x3, float, out Matrix3x3) Linearly interpolates between the corresponding values of two matrices.
static Multiply(ref Matrix3x3, ref Matrix3x3, out Matrix3x3) Multiplies a matrix by another matrix.
static Multiply(ref Matrix3x3, float, out Matrix3x3) Multiplies a matrix by a scalar value.
static Negate(ref Matrix3x3, out Matrix3x3) Negates individual elements of a matrix.
static Normalize(Matrix3x3)
static Orthogonalize(Matrix3x3)
static Rescale(ref Matrix3x3, float) Same result as Matrix3x3.CreateScale(scale) * matrix, but much faster
static Rescale(ref Matrix3x3, ref Vector3) Same result as Matrix3x3.CreateScale(scale) * matrix, but much faster
static Rescale(Matrix3x3, float)
static Rescale(Matrix3x3, Vector3)
static Round(ref Matrix3x3)
static Slerp(ref Matrix3x3, ref Matrix3x3, float, out Matrix3x3) Performs spherical linear interpolation of position and rotation.
static SlerpScale(ref Matrix3x3, ref Matrix3x3, float, out Matrix3x3) Performs spherical linear interpolation of position and rotation and scale.
static Subtract(ref Matrix3x3, ref Matrix3x3, out Matrix3x3) Subtracts matrices.
static Transform(ref Matrix3x3, ref Quaternion, out Matrix3x3) Transforms a Matrix3x3 by applying a Quaternion rotation.
static Transpose(ref Matrix3x3, out Matrix3x3) Transposes the rows and columns of a matrix.
AssertIsValid()
Determinant()
Equals(Matrix3x3) Determines whether the specified Object is equal to the Matrix3x3.
Equals(object) Returns a value that indicates whether the current instance is equal to a specified object.
EqualsFast(ref Matrix3x3, float) Compares just position, forward and up
GetClosestDirection(Vector3)
GetClosestDirection(ref Vector3)
GetDirectionVector(Direction)
GetHashCode() Gets the hash code of this object.
GetOrientation() Gets the orientation.
GetRow(int)
IsMirrored()
IsNan()
IsOrthogonal()
IsRotation()
IsValid()
SetDirectionVector(Direction, Vector3)
SetRow(int, Vector3)
ToString() Retrieves a string representation of the current object.
Transpose()

Implements: