getLighting

From Bohemia Interactive Community
Revision as of 23:23, 30 July 2020 by Lou Montana (talk | contribs) (Page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version |?]]
Hover & click on the images for description

Description

Description:
Gets general environment's light settings or specific object's lighting information.
Groups:
Uncategorised

Syntax

Syntax:
getLighting
Return Value:
Array to format [ambientLightColor, lightDirection, moonPhase, starsVisibility]:

Alternative Syntax

Syntax:
getLighting obj
Parameters:
obj: Object
Return Value:
Array to format [dynamicLightColor, dynamiclightBrightness, ambientLightColor, ambientLightBrightness]:
  • dynamicLightColor: Color
  • dynamiclightBrightness: Number
  • ambientLightColor: Color
  • ambientLightBrightness: Number

Examples

Examples:
Example needed

Additional Information

See also:
Category:Command Group: Lights Lightpoint Tutorial

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

[[Category:Introduced with arma3dev version ]][[ Category: arma3dev: New Scripting Commands | GETLIGHTING]][[ Category: arma3dev: Scripting Commands | GETLIGHTING]]

Bottom Section