SITransformation.SetRotation

Description

Sets the rotation part of this transformation.

C# Syntax

SITransformation.SetRotation( SIRotation in_pRotation );

Scripting Syntax

SITransformation.SetRotation( in_pRotation );

Parameters

Parameter Type Description
in_pRotation 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