getLightingAt: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "Lightpoint Tutorial" to "Light Source Tutorial") |
BrettMayson (talk | contribs) No edit summary |
||
| Line 14: | Line 14: | ||
|p1= obj: [[Object]] | |p1= obj: [[Object]] | ||
|r1= [[Array]] | |r1= [[Array]] format [ambientLightColor, ambientLightBrightness, dynamicLightColor, dynamicLightBrightness]: | ||
* ambientLightColor: [[Array]] | * ambientLightColor: [[Array]] format [[Color|Color (RGB)]] | ||
* ambientLightBrightness: [[Number]] | * ambientLightBrightness: [[Number]] | ||
* dynamicLightColor: [[Array]] | * dynamicLightColor: [[Array]] format [[Color|Color (RGB)]] | ||
* dynamiclightBrightness: [[Number]] | * dynamiclightBrightness: [[Number]] | ||
Revision as of 07:37, 2 January 2026
Description
- Description:
- Gets provided object's lighting information.
- Groups:
- Lights
Syntax
- Syntax:
- getLightingAt obj
- Parameters:
- obj: Object
- Return Value:
- Array format [ambientLightColor, ambientLightBrightness, dynamicLightColor, dynamicLightBrightness]:
- ambientLightColor: Array format Color (RGB)
- ambientLightBrightness: Number
- dynamicLightColor: Array format Color (RGB)
- dynamiclightBrightness: Number
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- getLighting Light Source Tutorial
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note