SetRotation (SITransformation)

Description

Sets the rotation part of this transformation.

Scripting Syntax

SITransformation.SetRotation( r )

C# Syntax

SITransformation.SetRotation( SIRotation in_pRotation );

Parameters

Parameter

Type

Description

r

SIRotation

rotation

Examples

VBScript Example

dim t1, r1
' Create transformation.
set t1 = XSIMath.CreateTransform
' Create Rotation.
set r1 = XSIMath.CreateRotation
'Do something with r1
t1.SetRotation r1

See Also

SITransformation.GetRotation

SIVector3

SIMatrix3

SIMatrix4

SIRotation

SITransformation

SIQuaternion

 



Autodesk Softimage v7.5