Set Light (no reference) VI

Creates and positions a light source in 3D space relative to a 3D object.


icon

Inputs/Outputs

  • cenum.png Light State

    Light State specifies whether to enable the light state.

    0Inherit Value (default)—The light inherits the state of the parent object.
    1Off—Disables the light.
    2On—Enables the light.
  • csobjref.png Scene Object In

    Scene Object In specifies a reference to the scene you want to manipulate.

  • cslightref.png Light Refnum In

    Light Refnum In specifies a reference to the light.

  • cnclst.png Position

    Position specifies the x, y, and z coordinates that define the position of the light relative to its owning object.

  • csgl.png X

    X specifies the X coordinate of the light source. The default value is 0.

  • csgl.png Y

    Y specifies the Y coordinate of the light source. The default value is 0.

  • csgl.png Z

    Z specifies the Z coordinate of the light source. The default value is 0.

  • 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 a reference to the scene object.

  • ierrcodeclst.png error out

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