Sets the 9 components of this matrix. The elements are packed
together as follows:
| m0 m1 m2 |
| m3 m4 m5 |
| m6 m7 m8 |
SIMatrix3.Set( m0, m1, m2, m3, m4, m5, m6, m7, m8 ); |
Parameter | Type | Description |
---|---|---|
m0 | Floating Point value | The m0 value. |
m1 | Floating Point value | The m1 value. |
m2 | Floating Point value | The m2 value. |
m3 | Floating Point value | The m3 value. |
m4 | Floating Point value | The m4 value. |
m5 | Floating Point value | The m5 value. |
m6 | Floating Point value | The m6 value. |
m7 | Floating Point value | The m7 value. |
m8 | Floating Point value | The m8 value. |
dim v1, m1 ' Create 3D vector. set v1 = XSIMath.CreateVector3(1.0, 2.0, 3.0) ' Create 3x3 matrix. set m1 = XSIMath.CreateMatrix3(4.0, 0.0, 0.0, 0.0, 3.0, 0.0, 0.0, 0.0, 2.0) v1.MulByMatrix3InPlace m1 |