## SITransformation.GetRotationMatrix3

### Description

Returns the 3x3 matrix representation of the rotation part of this transformation.

### C# Syntax

    SITransformation.GetRotationMatrix3( SIMatrix3 io_pRotMat );

### Scripting Syntax

    SITransformation.GetRotationMatrix3( io_pRotMat );

### Parameters

Parameter | Type | Description
--- | --- | ---
io_pRotMat | SIMatrix3 | 3x3 matrix filled from this transformation

### Examples

#### VBScript Example

    dim t1, m1

    ' Create transformation.

    set t1 = XSIMath.CreateTransform

    ' Create 3x3 matrix.

    set m1 = XSIMath.CreateMatrix3

    'Do something with t1

    t1.GetRotationMatrix3 m1

### See Also

SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion