Sim/graphics/animation/lights/airplane landing light

From X-Plane SDK
Jump to: navigation, search
This page was imported from the previous wiki engine. It needs a review and cleanup of formatting. Please see this page for more information.
This dataref is used to create custom lights. See PluginsAndObjects for more info.

INPUTS:

RGBA form a 4-part direction vector - see PluginsAndObjects.

X-Plane 921 and newer: RGB form a 3-part direction vector; A is interpreted as an index number for multiple landing light switches.

OUTPUTS:

Alpha is set to brightness or 0 if it's off. RGB is set to white.

SPECIAL BEHAVIOR:

This light will turn off if the landing light is off.

DESCRIPTION:

This provides a directional light that follows the airplane's landing lights.