SolidKit3D.Matrix4x4f struct

From Solid Graphics Wiki

Jump to: navigation, search
SolidKit3D.Matrix4x4f struct
Namespace: SolidKit3D
Base type: (None)
Assembly: SolidKit.dll
Platform: .NET

The Matrix4x4f struct is representation of 4x4 matrix of float values. The class is used mainly for rotational, translating or scaling transformation of points and types derived or using the point, such as SolidKit3D.PointList class or SolidKit3D.Shape class. Multiple rotations, translations and scaling operations can be represented by single 4x4 matrix instance.



Fields

Field name Type Description
Value0 .. Value15 float Sixteen matrix's float values.
IdentityMatrix SolidKit3D.Matrix4x4f Static field which value is identity 4x4 matrix.

Methods

Method name Description
RotateXYZ Modifies matrix by adding rotation first around X, then Y, and then Z axis.
RotateZYX Modifies matrix by adding rotation first around Z, then Y, and then X axis.
RotateYXZ Modifies matrix by adding rotation first around Y, then X, and then Z axis.
RotateZXY Modifies matrix by adding rotation first around Z, then X, and then Y axis.
InverseRotateXYZ Modifies the matrix values by adding rotation inverse to the RotateXYZ method.
InverseRotateZYX Modifies the matrix values by adding rotation inverse to the RotateZYX method.
InverseRotateYXZ Modifies the matrix values by adding rotation inverse to the RotateYXZ method.
InverseRotateZXY Modifies the matrix values by adding rotation inverse to the RotateZXY method.
GetRotationAnglesXYZ Retrieves X, Y, Z angle values (in degrees) of XYZ rotation which the current matrix's value field values represent.
GetRotationAnglesZYX Retrieves Z, Y, X angle values (in degrees) of XYZ rotation which the current matrix's value field values represent.
GetRotationAnglesYXZ Retrieves Y, X, Z angle values (in degrees) of XYZ rotation which the current matrix's value field values represent.
GetRotationAnglesZXY Retrieves Z, X, Y angle values (in degrees) of XYZ rotation which the current matrix's value field values represent.
Translate Adds translation to the matrix values using specified translation vector.
Scale Scales matrix values by given factor.
Transpose Transposes the matrix values.
MultiplyBy Multiplies matrix values with another matrix.

{{method table row | Matrix4x4f.Transform | Transforms | Transforms point, vector or plane coordinates using the current matrix |-

See Also

   


SolidKit Library Documentation

Personal tools