SetFromXYZAngles (SIRotation)
Description
Sets this rotation values according to the X, Y and Z angles (in radians) passed in parameter.
Scripting Syntax
SIRotation.SetFromXYZAngles( angles )
C# Syntax
SIRotation.SetFromXYZAngles( SIVector3 in_pXZYAngles );Parameters
|
Parameter |
Type |
Description |
|
angles |
X, Y and Z angles (in radians) stored under a 3D vector |
Examples
VBScript Example
dim r1, rotAngles ' Create rotation. set r1 = XSIMath.CreateRotation ' Create 3D vector. set rotAngles = XSIMath.CreateVector3(1.5, 0.0, 0.0) r1.SetFromXYZAngles rotAngles
See Also
|
|
|
|
Autodesk Softimage v7.5