SetRotationFromXYZAngles (SITransformation)

Description

Sets the X, Y and Z angles (in radians) of the rotation part of this transformation.

Scripting Syntax

SITransformation.SetRotationFromXYZAngles( vAngles )

C# Syntax

SITransformation.SetRotationFromXYZAngles( SIVector3 in_pXYZAngles );

Parameters

Parameter

Type

Description

vAngles

SIVector3

3D vector containing the X, Y and Z angles (in radians) of the rotation

Examples

VBScript Example

dim t1, rotAngles
' Create transformation.
set t1 = XSIMath.CreateTransform
' Create 3D Vector.
set rotAngles = XSIMath.CreateVector3
rotAngles.Set 1.5, 0.0, 0.0
t1.SetRotationFromXYZAngles rotAngles

See Also

SITransformation.GetRotationXYZAngles

SITransformation.RotX

SITransformation.RotY

SITransformation.RotZ

SIVector3

SIMatrix3

SIMatrix4

SIRotation

SITransformation

SIQuaternion

 

 



Autodesk Softimage v7.5