getLighting: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
m (getLighting/At)
Line 6: Line 6:
____________________________________________________________________________________________
____________________________________________________________________________________________


|descr= Gets general environment's light settings or specific object's lighting information. |Description=
|descr= Gets general environment's light settings. |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 16: Line 16:
* moonPhase: [[Number]]
* moonPhase: [[Number]]
* starsVisibility: [[Number]] |Return Value=
* starsVisibility: [[Number]] |Return Value=
____________________________________________________________________________________________
|s2= [[getLighting]] obj |Alternative Syntax=
|p21= obj: [[Object]] |Alternative Parameter 1=
|r2= [[Array]] to format [dynamicLightColor, dynamiclightBrightness, ambientLightColor, ambientLightBrightness]:
* dynamicLightColor: [[Color]]
* dynamiclightBrightness: [[Number]]
* ambientLightColor: [[Color]]
* ambientLightBrightness: [[Number]] |Alternative Return Value=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 32: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________


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



Revision as of 23:35, 30 July 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, lightDirection, moonPhase, starsVisibility]:

Examples

Examples:
Example needed

Additional Information

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