Get (SIMatrix3)

Description

Returns the 9 components of this matrix.

The elements are packed together as follows:

| m0 m1 m2 |

| m3 m4 m5 |

| m6 m7 m8 |

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: SIMatrix3.Get2.

Scripting Syntax

    SIMatrix3.Get( m0, m1, m2, m3, m4, m5, m6, m7, m8 )

C# Syntax

    SIMatrix3.Get( Object& out_pvarM00, Object& out_pvarM01, Object& out_pvarM02, Object& out_pvarM10, Object& out_pvarM11, Object& out_pvarM12, Object& out_pvarM020, Object& out_pvarM21, Object& out_pvarM22 );

Parameters

Parameter | Type | Description
m0 [out] | Floating Point value | The m0 value.
m1 [out] | Floating Point value | The m1 value.
m2 [out] | Floating Point value | The m2 value.
m3 [out] | Floating Point value | The m3 value.
m4 [out] | Floating Point value | The m4 value.
m5 [out] | Floating Point value | The m5 value.
m6 [out] | Floating Point value | The m6 value.
m7 [out] | Floating Point value | The m7 value.
m8 [out] | Floating Point value | The m8 value.

Examples

VBScript Example

    dim v1, m1
    ' 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)
    m1.Get m00, m01, m02, m10, m11, m12, m20, m21, m22
    msgbox m00

See Also

SIMatrix3.SetIdentity | SIVector3 | SIMatrix3 | SIMatrix4
SIRotation | SITransformation | SIQuaternion | SIMatrix3.Get2

Autodesk Softimage v7.5