Translate Object

Translates an object in a 3D scene by the vector you specify. This VI performs a relative translation from the object's current position.

Use the Set Translation VI to translate an object from the object's initial position.


icon

Inputs/Outputs

  • csobjref.png Scene.Object In

    Scene.Object In is the reference to the 3D object you want to translate.

  • cnclst.png Translation

    Translation contains the x, y, and z coordinates that define the vector you want to use in the translation.

  • csgl.png X

    X specifies the x coordinate.

  • csgl.png Y

    Y specifies the y coordinate.

  • csgl.png Z

    Z specifies the z coordinate.

  • 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 Scene.Object Out

    Scene.Object Out returns the reference to the translated 3D object.

  • ierrcodeclst.png 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