Sets the rotation part of this transformation by using the axis/angle representation.
SITransformation.SetRotationFromAxisAngle( SIVector3 in_pAxis, Double in_dAngle ); |
SITransformation.SetRotationFromAxisAngle( in_pAxis, in_dAngle ); |
Parameter | Type | Description |
---|---|---|
in_pAxis | SIVector3 | Axis of rotation |
in_dAngle | Floating Point value | Angle of rotation (in radians) |
dim t1, axis ' Create transformation. set t1 = XSIMath.CreateTransform ' Create 3D vector. set axis = XSIMath.CreateVector3 axis.Set 1.0, 0.0, 0.0 t1.SetRotationFromAxisAngle axis, 1.5 |
SITransformation.GetRotationAxisAngle SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion