New Light
- Updated2025-07-30
- 2 minute(s) read
Creates a new light source for the 3D scene.

Inputs/Outputs
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.
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.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
New Light Refnum
—
New Light Refnum is the reference to the light.
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
At Infinity
—
Light Number
—
error in (no error)
—
New Light Refnum
—
error out
—