getLighting: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Color to Color RGB)
m (Return value fix)
Line 11: Line 11:
|s1= [[getLighting]] |Syntax=
|s1= [[getLighting]] |Syntax=


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

Revision as of 03:12, 6 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, lightDirection, 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