Invert (SIRotation)

Description

Inverts the rotation r and stores the result in this rotation.

Scripting Syntax

    SIRotation.Invert( r )

C# Syntax

    SIRotation.Invert( SIRotation in_pRot );

Parameters

Parameter | Type | Description
r | SIRotation | Rotation operand

Examples

VBScript Example

    dim r1, r2, rotAngles
    ' Create rotations.
    set r1 = XSIMath.CreateRotation
    set r2= XSIMath.CreateRotation
    ' Create 3D vector.
    set rotAngles = XSIMath.CreateVector3(0.0, 1.5, 0.0)
    r1.SetFromXYZAngles rotAngles
    r2.Invert r1

See Also

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

Autodesk Softimage v7.5