Click or drag to resize

Matrix3F Structure

A structure encapsulating a single precision 3x3 matrix.
Inheritance Hierarchy
SystemObject
  SystemValueType
    NeoAxisMatrix3F

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public struct Matrix3F

The Matrix3F type exposes the following members.

Constructors
 NameDescription
Public methodMatrix3F(Matrix3F) Constructs a matrix with another specified Matrix3F object.
Public methodMatrix3F(Vector3F, Vector3F, Vector3F) Constructs a matrix with the specified Vector3F elements, which are the corresponding rows of the matrix.
Public methodMatrix3F(Single, Single, Single, Single, Single, Single, Single, Single, Single) Constructs a matrix with the given individual elements.
Top
Properties
 NameDescription
Public propertyItemInt32 Gets or sets the row of the current instance of Matrix3F at the specified index.
Public propertyItemInt32, Int32 Gets or sets the component at the specified index.
Top
Methods
 NameDescription
Public methodStatic memberAdd Adds two matricies.
Public methodDecompose(Matrix3F, Vector3F) Decomposes a matrix into a rotation and scale.
Public methodDecompose(QuaternionF, Vector3F) Decomposes a matrix into a rotation and scale.
Public methodDecomposeScale 
Public methodDecomposeScaleMaxComponent 
Public methodEquals(Object) Determines whether the specified object is equal to the current instance of Matrix3F.
(Overrides ValueTypeEquals(Object))
Public methodEquals(Matrix3F, Single) Determines whether the specified matrix is equal to the current instance of Matrix3F with a given precision.
Public methodEquals(Matrix3F, Single) Determines whether the specified matrix is equal to the current instance of Matrix3F with a given precision.
Public methodStatic memberFromRotateByX(RadianF) Creates a matrix that rotates around the x-axis.
Public methodStatic memberFromRotateByX(RadianF, Matrix3F) Creates a matrix that rotates around the x-axis.
Public methodStatic memberFromRotateByY(RadianF) Creates a matrix that rotates around the y-axis.
Public methodStatic memberFromRotateByY(RadianF, Matrix3F) Creates a matrix that rotates around the y-axis.
Public methodStatic memberFromRotateByZ(RadianF) Creates a matrix that rotates around the z-axis.
Public methodStatic memberFromRotateByZ(RadianF, Matrix3F) Creates a matrix that rotates around the z-axis.
Public methodStatic memberFromScale(Single) Creates a scale matrix with the specified Single value.
Public methodStatic memberFromScale(Vector3F) Creates a scale matrix with the specified Vector3F object.
Public methodStatic memberFromScale(Single, Matrix3F) Creates a scale matrix with the specified Single value.
Public methodStatic memberFromScale(Vector3F, Matrix3F) Creates a scale matrix with the specified Vector3F object.
Public methodGetHashCode Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodGetInverse Inverts the current instance of Matrix3F if it is invertible and returns the result.
Public methodGetInverse(Matrix3F) Inverts the current instance of Matrix3F if it is invertible.
Public methodGetTrace Gets the trace of the matrix, the sum of the values along the diagonal.
Public methodGetTranspose Returns the transpose of the current instance of Matrix3F.
Public methodGetTranspose(Matrix3F) Calculates the transpose of the current instance of Matrix3F.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInverse Inverts the current instance of Matrix3F and determines whether the matrix is invertible. Determines whether the current instance of Matrix3F is invertible and, if so, inverts this matrix.
Public methodStatic memberLookAt(Vector3F, Vector3F) Creates a look-at matrix.
Public methodStatic memberLookAt(Vector3F, Vector3F, Matrix3F) Creates a look-at matrix.
Public methodStatic memberMultiply(Matrix3F, Matrix3F, Matrix3F) Multiplies two matrices.
Public methodStatic memberMultiply(Matrix3F, Vector3F, Vector3F) Multiplies a matrix by a given Vector3 structure.
Public methodStatic memberMultiply(Matrix3F, Single, Matrix3F) Multiplies a matrix by a given value.
Public methodStatic memberMultiply(Single, Matrix3F, Matrix3F) Multiplies a matrix by a given value.
Public methodStatic memberMultiply(Vector3F, Matrix3F, Vector3F) Multiplies a matrix by a given Vector3 structure.
Public methodStatic memberNegate Negates a matrix.
Public methodStatic memberParse Converts a string representation of a matrix into the equivalent Matrix3F structure.
Public methodQDUDecomposition Decomposites the matrix by Gram-Schmidt orthogonalization algorithm (the QR algorithm).
Public methodStatic memberSubtract Subtracts two matricies.
Public methodToAngles Converts the current instance of Matrix3F to Euler angles.
Public methodToAngles(AnglesF) Converts the current instance of Matrix3F to Euler angles.
Public methodToMatrix3 Converts the current instance of Matrix3F into the equivalent Matrix3 structure.
Public methodToMatrix3(Matrix3) Converts the current instance of Matrix3F into the equivalent Matrix3 structure.
Public methodToMatrix4 Converts the current instance of Matrix3F into the equivalent Matrix4F structure.
Public methodToMatrix4(Matrix4F) Converts the current instance of Matrix3F into the equivalent Matrix4F structure.
Public methodToQuaternion Converts the current instance of Matrix3F into the equivalent QuaternionF structure.
Public methodToQuaternion(QuaternionF) Converts the current instance of Matrix3F into the equivalent QuaternionF structure.
Public methodToString Returns a String that represents the current instance of Matrix3F.
(Overrides ValueTypeToString)
Public methodTranspose Transposes the matrix.
Top
Operators
 NameDescription
Public operatorStatic memberAddition(Matrix3F, Matrix3F) Adds two matricies.
Public operatorStatic memberEquality(Matrix3F, Matrix3F) Determines whether two given matricies are equal.
Public operatorStatic member(Matrix3F to Matrix3) Implicit conversion from Matrix3F type to Matrix3 type for given value.
Public operatorStatic memberInequality(Matrix3F, Matrix3F) Determines whether two given matricies are unequal.
Public operatorStatic memberMultiply(Matrix3F, Matrix3F) Multiplies two matrices.
Public operatorStatic memberMultiply(Matrix3F, Vector3F) Multiplies a matrix by a given Vector3F structure.
Public operatorStatic memberMultiply(Matrix3F, Single) Multiplies a matrix by a given value.
Public operatorStatic memberMultiply(Single, Matrix3F) Multiplies a matrix by a given value.
Public operatorStatic memberMultiply(Vector3F, Matrix3F) Multiplies a matrix by a given Vector3F structure.
Public operatorStatic memberSubtraction(Matrix3F, Matrix3F) Subtracts two matricies.
Public operatorStatic memberUnaryNegation(Matrix3F) Negates a matrix.
Top
Fields
 NameDescription
Public fieldStatic memberIdentity The identity matrix.
Public fieldItem0 The first row of the matrix.
Public fieldItem1 The second row of the matrix.
Public fieldItem2 The third row of the matrix.
Public fieldStatic memberZero The matrix with all of its components set to zero.
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also