Difference between revisions of "Sim/graphics/animation/lights/airplane beacon light"

From X-Plane SDK
Jump to: navigation, search
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{unreviewed_sdk_import}}This dataref is used to create custom lights. See PluginsAndObjects for more info.
+
This dataref is used to create custom lights. See PluginsAndObjects for more info.
  
 
INPUTS:
 
INPUTS:
  
Red provides phase offset.
+
Red, green and blue are ignored.
Green provides pulse speed (pulses per second).
+
Alpha sets beacon index.
Blue provides a scaling for brightness.
+
Alpha is ignored.
+
  
 
OUTPUTS:
 
OUTPUTS:
Line 19: Line 17:
 
DESCRIPTION:
 
DESCRIPTION:
  
This provides a pulsing light with customizable speed and brightness.  It follows the beacon of the user's plane.
+
This provides a pulsing light.  It follows the beacon of the user's plane.
 +
 
 +
[[Category:DataRefs]]

Latest revision as of 20:03, 27 November 2010

This dataref is used to create custom lights. See PluginsAndObjects for more info.

INPUTS:

Red, green and blue are ignored. Alpha sets beacon index.

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 airplane beacon light is off.

DESCRIPTION:

This provides a pulsing light. It follows the beacon of the user's plane.