Applies a rotation r defined in the local space of this transformation.
SITransformation.AddLocalRotation( SIRotation in_pRotation, Int32 in_bIncrementEulerAngles ); |
SITransformation.AddLocalRotation( in_pRotation, [in_bIncrementEulerAngles] ); |
Parameter | Type | Description |
---|---|---|
in_pRotation | SIRotation | rotation to apply |
in_bIncrementEulerAngles | Boolean |
True to update the Euler angles of the resulting rotation using the previous angles as the target. Default Value: False |
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 |