Set (SIMatrix4)

Description

Sets the 16 components of this matrix.

| m0 m1 m2 m3 |

| m4 m5 m6 m7 |

| m8 m9 m10 m11 |

| m12 m13 m14 m15 |

Scripting Syntax

    SIMatrix4.Set( m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11, m12, m13, m14, m15 )

C# Syntax

    SIMatrix4.Set( Double in_dM00, Double in_dM01, Double in_dM02, Double in_dM03, Double in_dM10, Double in_dM11, Double in_dM12, Double in_dM13, Double in_dM20, Double in_dM21, Double in_dM22, Double in_dM23, Double in_dM30, Double in_dM31, Double in_dM32, Double in_dM33 );

Parameters

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.

Examples

VBScript Example

    dim v1, m1
    ' Create 3D vector.
    set v1 = XSIMath.CreateVector3
    ' Create 4x4 matrix.
    set m1 = XSIMath.CreateMatrix4
    v1.Set 1.0, 2.0, 3.0
    m1.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
    v1.MulByMatrix4InPlace m1

See Also

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

Autodesk Softimage v7.5