New Light

Creates a new light source for the 3D scene.


icon

Inputs/Outputs

  • cbool.png At Infinity

    At Infinity specifies whether the light source is at an infinite distance from the scene. When At Infinity is TRUE, all light strikes the scene in parallel. The default is FALSE.

  • ci32.png Light Number

    Light Number is the index, or integer used to identify the light. Light Number must be a value between 0 and 7, inclusive. You cannot index more than 8 lights in a 3D scene.

  • cerrcodeclst.png error in (no error)

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

  • islightref.png New Light Refnum

    New Light Refnum is the reference to the light.

  • 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\Controls and Indicators\Graphs and Charts\Math Plots - 3D (ActiveX)\3D Curve Graph (ActiveX).vi