BIS fnc ambientPostprocess: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "|= Comments" to "|Comments=")
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Function|Comments=
____________________________________________________________________________________________
| tkoh |Game name=
|1.00|Game version=


{{Function|= Comments
|eff= local |= Effect
____________________________________________________________________________________________
____________________________________________________________________________________________


| tkoh |= Game name
| Initialize terrain-related postprocess effects. |DESCRIPTION=
 
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


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


Description:
|p1= terrain: [[String]] - (Optional, default [[worldName]]) terrain from which to take post-process effets configuration |PARAMETER1=
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"'''. |PARAMETER2=
_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 |RETURNVALUE=
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> |EXAMPLE1=
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________


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


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



Revision as of 01:01, 30 August 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