Light:Add Light
- Updated2025-07-30
- 1 minute(s) read
Reads or writes the light you add to a 3D scene. If you wire the Light output, you must close the reference when you no longer need it.
Parameters
| Name | Data type | Required | Description |
|---|---|---|---|
| Light | ![]() |
Yes | The refnum input for the light you add to the 3D scene. |
Remarks
The following table lists the characteristics of this method.
| Short Name | Light.Add Light |
| Data type | No return value |
| Available in Run-Time Engine | Yes |
| Available in Real-Time Operating System | No |
| Settable when the VI is running | Yes |
| Loads the front panel into memory | No |
| Need to authenticate before use | No |
| Loads the block diagram into memory | No |
| Remote access allowed | Yes |
