BIS fnc ambientPostprocess: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Ambient(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| tkoh |Game name= | | tkoh |Game name= | ||
Line 9: | Line 8: | ||
|eff= local |= Effect | |eff= local |= Effect | ||
| Initialize terrain-related postprocess effects. |DESCRIPTION= | | Initialize terrain-related postprocess effects. |DESCRIPTION= | ||
| [terrain, activation] call [[BIS_fnc_ambientPostprocess]] |SYNTAX= | | [terrain, activation] call [[BIS_fnc_ambientPostprocess]] |SYNTAX= | ||
Line 21: | Line 18: | ||
| [[Array]] of initialized effects with values |RETURNVALUE= | | [[Array]] of initialized effects with values |RETURNVALUE= | ||
|x1= <code>[] [[call]] [[BIS_fnc_ambientPostprocess]];</code> |EXAMPLE1= | |x1= <code>[] [[call]] [[BIS_fnc_ambientPostprocess]];</code> |EXAMPLE1= | ||
|x2= <code>["Malden", "ColorCorrections"] [[call]] [[BIS_fnc_ambientPostprocess]];</code> |EXAMPLE2= | |x2= <code>["Malden", "ColorCorrections"] [[call]] [[BIS_fnc_ambientPostprocess]];</code> |EXAMPLE2= | ||
| [[Post process effects]] |SEEALSO= | | [[Post process effects]] |SEEALSO= |
Revision as of 22:38, 16 January 2021
Description
Syntax
- Syntax:
- [terrain, activation] call BIS_fnc_ambientPostprocess
- Parameters:
- terrain: String - (Optional, default worldName) terrain from which to take post-process effets configuration
- String or Boolean - (Optional, default true) post-process type to get, or true to get all of them. Any effect but "filmGrain".
- Return Value:
- Array of initialized effects with values
Examples
- Example 1:
[] call BIS_fnc_ambientPostprocess;
- Example 2:
["Malden", "ColorCorrections"] call BIS_fnc_ambientPostprocess;
Additional Information
- See also:
- Post process effects
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