AddLocalRotation (SITransformation)

Description

Applies a rotation r defined in the local space of this transformation.

Scripting Syntax

    SITransformation.AddLocalRotation( r )

C# Syntax

    SITransformation.AddLocalRotation( SIRotation in_pRotation, Int32 in_bIncrementEulerAngles );

Parameters

Parameter | Type | Description
r | SIRotation | rotation to apply

Examples

VBScript Example

    dim t1, r1
    ' Create transformation.
    set t1 = XSIMath.CreateTransform
    ' Create Rotation.
    set r1 = XSIMath.CreateRotation
    'Do something on t1 and r1
    'Then add a rotation at the local level
    t1.AddLocalRotation r1

See Also

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

Autodesk Softimage v7.5