BIS fnc ambientPostprocess: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 6: Line 5:


|1.00|= Game version
|1.00|= Game version
|eff= local |= Effect
____________________________________________________________________________________________
| Initialize terrain-related postprocess effects. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| [terrain, activation] call [[BIS_fnc_ambientPostprocess]] |= Syntax


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


Parameter(s):
|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
_this select 0: STRING - world name (default: current world)
_this select 1: STRING or BOOL - post-process type or true for all of them (default: true)


Returns:
| [[Array]] of initialized effects with values |= Return value
ARRAY - list of initialized effects with values
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_ambientPostprocess]]; --> |= Syntax
|x1= <code>[] [[call]] [[BIS_fnc_ambientPostprocess]];</code> |= Example 1
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________


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


| |= See also
| [[Post process effects]] |= See also
 
}}
}}



Revision as of 01:41, 28 April 2018

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