getLighting: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Return value update)
m (Color to Color RGB)
Line 12: Line 12:


|r1= [[Array]] to format [ambientLightColor, ambientLightBrightness, moonPhase, starsVisibility]:
|r1= [[Array]] to format [ambientLightColor, ambientLightBrightness, moonPhase, starsVisibility]:
* ambientLightColor: [[Color]]
* ambientLightColor: [[Color|Color RGB]]
* ambientLightBrightness: [[Number]]
* ambientLightBrightness: [[Number]]
* lightDirection: [[Vector3D]]
* lightDirection: [[Vector3D]]

Revision as of 08:50, 4 August 2020

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version |?]]
Hover & click on the images for description

Description

Description:
Gets general environment's light settings.
Groups:
Uncategorised

Syntax

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

Examples

Examples:
Example needed

Additional Information

See also:
getLightingAt moonPhase 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