Sets the X, Y and Z angles (in radians) of the rotation part of this transformation.
SITransformation.SetRotationFromXYZAngles( SIVector3 in_pXYZAngles ); |
SITransformation.SetRotationFromXYZAngles( in_pXYZAngles ); |
Parameter | Type | Description |
---|---|---|
in_pXYZAngles | SIVector3 | 3D vector containing the X, Y and Z angles (in radians) of the rotation |
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 |