Set Rotation

Clears any rotations previously applied to an object in a 3D scene and rotates the object by the values Axis and Angle. This VI performs an absolute rotation from the object's initial position.


icon

Inputs/Outputs

  • csobjref.png Scene Object

    Scene Object is the reference to the object you want to rotate.

  • cnclst.png Axis

    Axis specifies the x, y, and z coordinates that define the axis around which the rotation occurs.

  • csgl.png X

    X specifies the x coordinate.

  • csgl.png Y

    Y specifies the y coordinate.

  • csgl.png Z

    Z specifies the z coordinate.

  • csgl.png Angle

    Angle specifies the angle in radians around the Axis by which the rotation occurs.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • isobjref.png Rotated Scene Object

    Rotated Scene Object is the reference to the rotated 3D object.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.