Visual Basic
C#
Managed Extensions for C++
C++/CLI
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.
C# | Copy Code |
---|---|
viewport.GetViewportRotation().Rotate((float)(Math.PI / 4), 0, 0, 1); |
Visual Basic | Copy Code |
---|---|
viewport.GetViewportRotation().Rotate(Math.PI / 4, 0, 0, 1) |