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

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