Returns the 16 components of this matrix in row major mode. The elements are packed together as follows:
| m0 m1 m2 m3 |
| m4 m5 m6 m7 |
| m8 m9 m10 m11 |
| m12 m13 m14 m15 |
Note: This method uses output arguments. C# and some
scripting languages (such as JScript and PerlScript) don't support arguments passed by reference. However, there is a
alternate version of this method which is considered safe to use with C#, JScript and PerlScript:
SIMatrix4.Get2.
SIMatrix4.Get( Object& out_pvarM00, Object& out_pvarM01, Object& out_pvarM02, Object& out_pvarM03, Object& out_pvarM10, Object& out_pvarM11, Object& out_pvarM12, Object& out_pvarM13, Object& out_pvarM20, Object& out_pvarM21, Object& out_pvarM22, Object& out_pvarM23, Object& out_pvarM30, Object& out_pvarM31, Object& out_pvarM32, Object& out_pvarM33 ); |
SIMatrix4.Get( m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11, m12, m13, m14, m15 ); |
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. |
m9 | Floating Point value | The m9 value. |
m10 | Floating Point value | The m10 value. |
m11 | Floating Point value | The m11 value. |
m12 | Floating Point value | The m12 value. |
m13 | Floating Point value | The m13 value. |
m14 | Floating Point value | The m14 value. |
m15 | Floating Point value | The m15 value. |
' Create 4x4 matrix. dim mat4 : set mat4 = XSIMath.CreateMatrix4 mat4.Set 4.0, 0.0, 0.0, 0.0, 0.0, 3.0, 0.0, 0.0, 0.0, 0.0, 2.0, 0.0, 0.0, 0.0, 0.0, 1.0 mat4.Get m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11, m12, m13, m14, m15 Application.LogMessage m0 & " " & m1 & " " & m2 & " " & m3 Application.LogMessage m4 & " " & m5 & " " & m6 & " " & m7 Application.LogMessage m8 & " " & m9 & " " & m10 & " " & m11 Application.LogMessage m12 & " " & m13 & " " & m14 & " " & m15 |