SITransformation.GetRotation

Description

Returns the rotation part of this transformation.

C# Syntax

SITransformation.GetRotation( SIRotation io_pRotation );

Scripting Syntax

SITransformation.GetRotation( io_pRotation );

Parameters

Parameter Type Description
io_pRotation SIRotation rotation filled from this transformation

Examples

VBScript Example

dim t1, r1
' Create transformation.
set t1 = XSIMath.CreateTransform
' Create Rotation.
set r1 = XSIMath.CreateRotation
'Do something with t1
t1.GetRotation r1

See Also

SITransformation.SetRotation SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion