Performs a counterclockwise rotation of angle radians around the vector from the origin through the (x, y, z) point.
Syntax
Parameters
- angle
- Rotation angle in radians.
- vectorX
- X-coordinate of the rotation vector.
- vectorY
- Y-coordinate of the rotation vector.
- vectorZ
- Z-coordinate of the rotation vector.
Example
viewport.GetViewportRotation().Rotate((float)(Math.PI / 4), 0, 0, 1);
viewport.GetViewportRotation().Rotate(Math.PI / 4, 0, 0, 1)
See Also