This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
VRageMath.Matrix3x3
Malware edited this page Dec 25, 2018
·
52 revisions
← Index ← Namespace Index
public struct Matrix3x3: IEquatable<T>
Defines a matrix.
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
Member | Description |
---|---|
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. |
Identity | |
Zero |
Member | Description |
---|---|
Up | Gets and sets the up vector of the Matrix3x3. |
Down | Gets and sets the down vector of the Matrix3x3. |
Right | Gets and sets the right vector of the Matrix3x3. |
Col0 | |
Col1 | |
Col2 | |
Left | Gets and sets the left vector of the Matrix3x3. |
Forward | Gets and sets the forward vector of the Matrix3x3. |
Backward | Gets and sets the backward vector of the Matrix3x3. |
Scale | |
Item |
Member | Description |
---|---|
GetDirectionVector(Direction) | |
SetDirectionVector(Direction, Vector3) | |
GetClosestDirection(Vector3) | |
GetClosestDirection(ref Vector3) | |
Rescale(ref Matrix3x3, float) | Same result as Matrix3x3.CreateScale(scale) * matrix, but much faster |
Rescale(ref Matrix3x3, ref Vector3) | Same result as Matrix3x3.CreateScale(scale) * matrix, but much faster |
Rescale(Matrix3x3, float) | |
Rescale(Matrix3x3, Vector3) | |
CreateScale(float, float, float) | Creates a scaling Matrix3x3. |
CreateScale(float, float, float, ref Matrix3x3) | Creates a scaling Matrix3x3. |
CreateScale(Vector3) | Creates a scaling Matrix3x3. |
CreateScale(ref Vector3, ref Matrix3x3) | Creates a scaling Matrix3x3. |
CreateScale(float) | Creates a scaling Matrix3x3. |
CreateScale(float, ref Matrix3x3) | Creates a scaling Matrix3x3. |
CreateRotationX(float) | Returns a matrix that can be used to rotate a set of vertices around the x-axis. |
CreateRotationX(float, ref Matrix3x3) | Populates data into a user-specified matrix that can be used to rotate a set of vertices around the x-axis. |
CreateRotationY(float) | Returns a matrix that can be used to rotate a set of vertices around the y-axis. |
CreateRotationY(float, ref Matrix3x3) | Populates data into a user-specified matrix that can be used to rotate a set of vertices around the y-axis. |
CreateRotationZ(float) | Returns a matrix that can be used to rotate a set of vertices around the z-axis. |
CreateRotationZ(float, ref Matrix3x3) | Populates data into a user-specified matrix that can be used to rotate a set of vertices around the z-axis. |
CreateFromAxisAngle(Vector3, float) | Creates a new Matrix3x3 that rotates around an arbitrary vector. |
CreateFromAxisAngle(ref Vector3, float, ref Matrix3x3) | Creates a new Matrix3x3 that rotates around an arbitrary vector. |
CreateRotationFromTwoVectors(ref Vector3, ref Vector3, ref Matrix3x3) | |
CreateFromQuaternion(Quaternion) | Creates a rotation Matrix3x3 from a Quaternion. |
CreateFromQuaternion(ref Quaternion, ref Matrix3x3) | Creates a rotation Matrix3x3 from a Quaternion. |
CreateFromYawPitchRoll(float, float, float) | Creates a new rotation matrix from a specified yaw, pitch, and roll. |
CreateFromYawPitchRoll(float, float, float, ref Matrix3x3) | Fills in a rotation matrix from a specified yaw, pitch, and roll. |
Transform(ref Matrix3x3, ref Quaternion, ref Matrix3x3) | Transforms a Matrix3x3 by applying a Quaternion rotation. |
GetRow(int) | |
SetRow(int, Vector3) | |
ToString() | Retrieves a string representation of the current object. |
Equals(Matrix3x3) | Determines whether the specified Object is equal to the Matrix3x3. |
EqualsFast(ref Matrix3x3, float) | Compares just position, forward and up |
Equals(object) | Returns a value that indicates whether the current instance is equal to a specified object. |
GetHashCode() | Gets the hash code of this object. |
Transpose(ref Matrix3x3, ref Matrix3x3) | Transposes the rows and columns of a matrix. |
Transpose() | |
Determinant() | |
Invert(ref Matrix3x3, ref Matrix3x3) | Calculates the inverse of a matrix. |
Lerp(ref Matrix3x3, ref Matrix3x3, float, ref Matrix3x3) | Linearly interpolates between the corresponding values of two matrices. |
Slerp(ref Matrix3x3, ref Matrix3x3, float, ref Matrix3x3) | Performs spherical linear interpolation of position and rotation. |
SlerpScale(ref Matrix3x3, ref Matrix3x3, float, ref Matrix3x3) | Performs spherical linear interpolation of position and rotation and scale. |
Negate(ref Matrix3x3, ref Matrix3x3) | Negates individual elements of a matrix. |
Add(ref Matrix3x3, ref Matrix3x3, ref Matrix3x3) | Adds a matrix to another matrix. |
Subtract(ref Matrix3x3, ref Matrix3x3, ref Matrix3x3) | Subtracts matrices. |
Multiply(ref Matrix3x3, ref Matrix3x3, ref Matrix3x3) | Multiplies a matrix by another matrix. |
Multiply(ref Matrix3x3, float, ref Matrix3x3) | Multiplies a matrix by a scalar value. |
Divide(ref Matrix3x3, ref Matrix3x3, ref Matrix3x3) | Divides the components of a matrix by the corresponding components of another matrix. |
Divide(ref Matrix3x3, float, ref Matrix3x3) | Divides the components of a matrix by a scalar. |
GetOrientation() | Gets the orientation. |
AssertIsValid() | |
IsValid() | |
IsNan() | |
IsRotation() | |
CreateFromDir(Vector3) | |
CreateWorld(ref Vector3, ref Vector3) | Creates a world matrix with the specified parameters. |
CreateFromDir(Vector3, Vector3) | |
Normalize(Matrix3x3) | |
Orthogonalize(Matrix3x3) | |
Round(ref Matrix3x3) | |
AlignRotationToAxes(ref Matrix3x3, ref Matrix3x3) | |
GetEulerAnglesXYZ(ref Matrix3x3, ref Vector3) | |
IsMirrored() | |
IsOrthogonal() |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!