Sets this rotation values according to the X, Y and Z angles (in radians) passed in parameter.
SIRotation.SetFromXYZAngles( SIVector3 in_pXZYAngles ); |
SIRotation.SetFromXYZAngles( angles ); |
Parameter | Type | Description |
---|---|---|
angles | SIVector3 | X, Y and Z angles (in radians) stored under a 3D vector |
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 |