SITransformation.SetRotationFromXYZAngles
 
 
 

SITransformation.SetRotationFromXYZAngles

Description

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

C# Syntax

SITransformation.SetRotationFromXYZAngles( SIVector3 in_pXYZAngles );

Scripting Syntax

SITransformation.SetRotationFromXYZAngles( in_pXYZAngles );

Parameters

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