Falco Engine 3.9.0.1 (beta)
FalcoEngine.Matrix3 Struct Reference

Public Member Functions

 Matrix3 (Vector3 column0, Vector3 column1, Vector3 column2)
 
 Matrix3 (float d00, float d01, float d02, float d10, float d11, float d12, float d20, float d21, float d22)
 
override bool Equals (object other)
 
bool Equals (Matrix3 other)
 
Vector3 GetColumn (int index)
 
Vector3 GetRow (int index)
 
void SetColumn (int index, Vector3 column)
 
void SetRow (int index, Vector3 row)
 
Vector3 MultiplyVector (Vector3 vector)
 
override string ToString ()
 
string ToString (string format)
 
override int GetHashCode ()
 

Static Public Member Functions

static Matrix3 operator* (Matrix3 lhs, Matrix3 rhs)
 
static Vector3 operator* (Matrix3 lhs, Vector3 vector)
 
static bool operator== (Matrix3 lhs, Matrix3 rhs)
 
static bool operator!= (Matrix3 lhs, Matrix3 rhs)
 
static Matrix3 Scale (Vector3 vector)
 
static Matrix3 Rotate (Quaternion q)
 

Public Attributes

float m00
 
float m10
 
float m20
 
float m01
 
float m11
 
float m21
 
float m02
 
float m12
 
float m22
 

Properties

float this[int row, int column] [getset]
 
float this[int index] [getset]
 

Detailed Description

Definition at line 9 of file Matrix3.cs.

Constructor & Destructor Documentation

◆ Matrix3() [1/2]

FalcoEngine.Matrix3.Matrix3 ( Vector3  column0,
Vector3  column1,
Vector3  column2 
)

Definition at line 31 of file Matrix3.cs.

◆ Matrix3() [2/2]

FalcoEngine.Matrix3.Matrix3 ( float  d00,
float  d01,
float  d02,
float  d10,
float  d11,
float  d12,
float  d20,
float  d21,
float  d22 
)

Definition at line 44 of file Matrix3.cs.

Member Function Documentation

◆ Equals() [1/2]

bool FalcoEngine.Matrix3.Equals ( Matrix3  other)

Definition at line 145 of file Matrix3.cs.

◆ Equals() [2/2]

override bool FalcoEngine.Matrix3.Equals ( object  other)

Definition at line 136 of file Matrix3.cs.

◆ GetColumn()

Vector3 FalcoEngine.Matrix3.GetColumn ( int  index)

Get a column of the matrix.

Parameters
index

Definition at line 188 of file Matrix3.cs.

◆ GetHashCode()

override int FalcoEngine.Matrix3.GetHashCode ( )

Definition at line 332 of file Matrix3.cs.

◆ GetRow()

Vector3 FalcoEngine.Matrix3.GetRow ( int  index)

Returns a row of the matrix.

Parameters
index

Definition at line 207 of file Matrix3.cs.

◆ MultiplyVector()

Vector3 FalcoEngine.Matrix3.MultiplyVector ( Vector3  vector)

Transforms a direction by this matrix.

Parameters
vector

Definition at line 250 of file Matrix3.cs.

◆ operator!=()

static bool FalcoEngine.Matrix3.operator!= ( Matrix3  lhs,
Matrix3  rhs 
)
static

Definition at line 179 of file Matrix3.cs.

◆ operator*() [1/2]

static Matrix3 FalcoEngine.Matrix3.operator* ( Matrix3  lhs,
Matrix3  rhs 
)
static

Definition at line 150 of file Matrix3.cs.

◆ operator*() [2/2]

static Vector3 FalcoEngine.Matrix3.operator* ( Matrix3  lhs,
Vector3  vector 
)
static

Definition at line 165 of file Matrix3.cs.

◆ operator==()

static bool FalcoEngine.Matrix3.operator== ( Matrix3  lhs,
Matrix3  rhs 
)
static

Definition at line 174 of file Matrix3.cs.

◆ Rotate()

static Matrix3 FalcoEngine.Matrix3.Rotate ( Quaternion  q)
static

Creates a rotation matrix.

Parameters
q

Definition at line 282 of file Matrix3.cs.

◆ Scale()

static Matrix3 FalcoEngine.Matrix3.Scale ( Vector3  vector)
static

Creates a scaling matrix.

Parameters
vector

Definition at line 263 of file Matrix3.cs.

◆ SetColumn()

void FalcoEngine.Matrix3.SetColumn ( int  index,
Vector3  column 
)

Sets a column of the matrix.

Parameters
index
column

Definition at line 227 of file Matrix3.cs.

◆ SetRow()

void FalcoEngine.Matrix3.SetRow ( int  index,
Vector3  row 
)

Sets a row of the matrix.

Parameters
index
row

Definition at line 239 of file Matrix3.cs.

◆ ToString() [1/2]

override string FalcoEngine.Matrix3.ToString ( )

Returns a nicely formatted string for this matrix.

Parameters
format

Definition at line 313 of file Matrix3.cs.

◆ ToString() [2/2]

string FalcoEngine.Matrix3.ToString ( string  format)

Returns a nicely formatted string for this matrix.

Parameters
format

Definition at line 322 of file Matrix3.cs.

Member Data Documentation

◆ m00

float FalcoEngine.Matrix3.m00

Definition at line 11 of file Matrix3.cs.

◆ m01

float FalcoEngine.Matrix3.m01

Definition at line 14 of file Matrix3.cs.

◆ m02

float FalcoEngine.Matrix3.m02

Definition at line 17 of file Matrix3.cs.

◆ m10

float FalcoEngine.Matrix3.m10

Definition at line 12 of file Matrix3.cs.

◆ m11

float FalcoEngine.Matrix3.m11

Definition at line 15 of file Matrix3.cs.

◆ m12

float FalcoEngine.Matrix3.m12

Definition at line 18 of file Matrix3.cs.

◆ m20

float FalcoEngine.Matrix3.m20

Definition at line 13 of file Matrix3.cs.

◆ m21

float FalcoEngine.Matrix3.m21

Definition at line 16 of file Matrix3.cs.

◆ m22

float FalcoEngine.Matrix3.m22

Definition at line 19 of file Matrix3.cs.

Property Documentation

◆ this[int index]

float FalcoEngine.Matrix3.this[int index]
getset

Definition at line 71 of file Matrix3.cs.

◆ this[int row, int column]

float FalcoEngine.Matrix3.this[int row, int column]
getset

Definition at line 59 of file Matrix3.cs.


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