Applies a rotation r defined in the parent space of this transformation.
SITransformation.AddParentRotation( SIRotation in_pRotation, Int32 in_bIncrementEulerAngles ); |
SITransformation.AddParentRotation( 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 parent level t1.AddParentRotation r1 |
SITransformation.AddLocalRotation SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion