getLighting: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix seealso link)
m (Return value update)
Line 11: Line 11:
|s1= [[getLighting]] |Syntax=
|s1= [[getLighting]] |Syntax=


|r1= [[Array]] to format [ambientLightColor, lightDirection, moonPhase, starsVisibility]:
|r1= [[Array]] to format [ambientLightColor, ambientLightBrightness, moonPhase, starsVisibility]:
* ambientLightColor: [[Color]]
* ambientLightColor: [[Color]]
* ambientLightBrightness: [[Number]]
* lightDirection: [[Vector3D]]
* lightDirection: [[Vector3D]]
* moonPhase: [[Number]]
* starsVisibility: [[Number]] |Return Value=
* starsVisibility: [[Number]] |Return Value=
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________


|seealso= [[getLightingAt]] [[:Category:Command Group: Lights|Command Group: Lights]] [[Lightpoint Tutorial]] |See Also=
|seealso= [[getLightingAt]] [[moonPhase]] [[:Category:Command Group: Lights|Command Group: Lights]] [[Lightpoint Tutorial]] |See Also=
}}
}}



Revision as of 08:41, 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