## SITransformation.SetMatrix4

### Description

Sets the matrix representation values of this transformation from the matrix m.

### C# Syntax

    SITransformation.SetMatrix4( SIMatrix4 in_pMatrix );

### Scripting Syntax

    SITransformation.SetMatrix4( in_pMatrix );

### Parameters

Parameter | Type | Description
--- | --- | ---
in_pMatrix | SIMatrix4 | matrix operand

### Examples

#### VBScript Example

    dim t1, m1

    ' Create Transformation.

    set t1 = XSIMath.CreateTransform

    ' Create 4x4 matrix.

    set m1 = XSIMath.CreateMatrix4

    'initialize the matrix m1 with some values

    t1.SetMatrix4 m1

### See Also

SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion