Voxel toolkit
The toolkit that lets you easily import .vox assets and have runtime API
Loading...
Searching...
No Matches
VoxelToolkit.Matrix3x3Int Struct Reference

The structure that represents integer matrix. More...

Public Member Functions

 Matrix3x3Int (int e00, int e10, int e20, int e01, int e11, int e21, int e02, int e12, int e22)
 

Static Public Member Functions

static Vector3Int operator* (Matrix3x3Int matrix, Vector3Int vector)
 Multiplication operation between Vector3Int and Matrix3x3Int.
 
static int3 operator* (Matrix3x3Int matrix, int3 vector)
 Multiplication operation between int3 and Matrix3x3Int.
 
static Matrix3x3Int operator* (Matrix3x3Int first, Matrix3x3Int second)
 Multiplication operation between two matrices.
 
static implicit operator Matrix3x3Int (Matrix4x4 matrix4X4)
 Converts Matrix4x4 to Matrix3x3Int.
 
static implicit operator Matrix4x4 (Matrix3x3Int inMatrix)
 Converts VoxelToolkit.Matrix3x3Int to an ordinary Matrix4x4.
 

Public Attributes

int E00
 
int E10
 
int E20
 
int E01
 
int E11
 
int E21
 
int E02
 
int E12
 
int E22
 

Static Public Attributes

static readonly Matrix3x3Int Identity
 Identity matrix.
 

Properties

Matrix3x3Int Inversed [get]
 Returns the inversed matrix.
 

Detailed Description

The structure that represents integer matrix.

Member Function Documentation

◆ operator Matrix3x3Int()

static implicit VoxelToolkit.Matrix3x3Int.operator Matrix3x3Int ( Matrix4x4  matrix4X4)
static

Converts Matrix4x4 to Matrix3x3Int.

Parameters
matrix4X4The matrix to convert
Returns
Result

◆ operator Matrix4x4()

static implicit VoxelToolkit.Matrix3x3Int.operator Matrix4x4 ( Matrix3x3Int  inMatrix)
static

Converts VoxelToolkit.Matrix3x3Int to an ordinary Matrix4x4.

Parameters
inMatrixThe matrix to be converted
Returns
Converted to Matrix4x4 original matrix

◆ operator*() [1/3]

static Matrix3x3Int VoxelToolkit.Matrix3x3Int.operator* ( Matrix3x3Int  first,
Matrix3x3Int  second 
)
static

Multiplication operation between two matrices.

Parameters
first

First matrix

Parameters
second

Second matrix

Returns
Result

◆ operator*() [2/3]

static int3 VoxelToolkit.Matrix3x3Int.operator* ( Matrix3x3Int  matrix,
int3  vector 
)
static

Multiplication operation between int3 and Matrix3x3Int.

Parameters
matrixThe matrix to multiply
vectorThe vector to multiply
Returns
Result

◆ operator*() [3/3]

static Vector3Int VoxelToolkit.Matrix3x3Int.operator* ( Matrix3x3Int  matrix,
Vector3Int  vector 
)
static

Multiplication operation between Vector3Int and Matrix3x3Int.

Parameters
matrixThe matrix to multiply
vectorThe vector to multiply
Returns
Result

Member Data Documentation

◆ Identity

readonly Matrix3x3Int VoxelToolkit.Matrix3x3Int.Identity
static
Initial value:
= new Matrix3x3Int(
1, 0, 0,
0, 1, 0,
0, 0, 1)

Identity matrix.


The documentation for this struct was generated from the following file: