Rotate Object
- Updated2025-07-30
- 2 minute(s) read
Rotates an object in a 3D scene by the values Axis and Angle. This VI performs a relative rotation from the object's current position.

Inputs/Outputs
Scene.Object In
—
Scene.Object In is the reference to the 3D object you want to rotate.
Axis
—
Axis specifies the x, y, and z coordinates that define the axis around which the rotation occurs.
Angle
—
Angle specifies the angle in radians around the Axis by which the rotation occurs.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Scene.Object Out
—
Scene.Object Out returns the reference to the rotated 3D object.
error out
—
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Graphics and Sound\3D Picture Control\3D Model of Solar System.vi
- labview\examples\Graphics and Sound\3D Picture Control\Order of Transformations.vi
Scene.Object In
—
Axis
—
X
—
error in (no error)
—
Scene.Object Out
—
error out
—