BIS fnc ambientPostprocess: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 14: Line 14:
| [terrain, activation] call [[BIS_fnc_ambientPostprocess]] |SYNTAX=
| [terrain, activation] call [[BIS_fnc_ambientPostprocess]] |SYNTAX=


|p1= terrain: [[String]] - (Optional, default [[worldName]]) terrain from which to take post-process effets configuration |= Parameter 1
|p1= terrain: [[String]] - (Optional, default [[worldName]]) terrain from which to take post-process effets configuration |PARAMETER1=


|p2= [[String]] or [[Boolean]] - (Optional, default [[true]]) post-process type to get, or [[true]] to get all of them. '''Any effect but "filmGrain"'''. |= Parameter 2
|p2= [[String]] or [[Boolean]] - (Optional, default [[true]]) post-process type to get, or [[true]] to get all of them. '''Any effect but "filmGrain"'''. |PARAMETER2=


| [[Array]] of initialized effects with values |RETURNVALUE=
| [[Array]] of initialized effects with values |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[] [[call]] [[BIS_fnc_ambientPostprocess]];</code> |= Example 1
|x1= <code>[] [[call]] [[BIS_fnc_ambientPostprocess]];</code> |EXAMPLE1=


|x2= <code>["Malden", "ColorCorrections"] [[call]] [[BIS_fnc_ambientPostprocess]];</code> |= Example 2
|x2= <code>["Malden", "ColorCorrections"] [[call]] [[BIS_fnc_ambientPostprocess]];</code> |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:28, 7 April 2019

Hover & click on the images for description

Description

Description:
Initialize terrain-related postprocess effects.
Execution:
call
Groups:
Uncategorised

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

Notes

Bottom Section