GetRotation (SITransformation)

Description

Returns the rotation part of this transformation.

Scripting Syntax

    SITransformation.GetRotation( r )

C# Syntax

    SITransformation.GetRotation( SIRotation io_pRotation );

Parameters

Parameter | Type | Description
r [in/out] | 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 |

Autodesk Softimage v7.5