BIS fnc ambientPostprocess: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Text replacement - "Post process effects" to "Post Process Effects")
 
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| tkoh |= Game name
|game2= arma3
|version2= 0.50


|1.00|= Game version
|gr1= Ambient
____________________________________________________________________________________________


| <pre>/*
|eff= local


Description:
|descr= Initialize terrain-related postprocess effects.
Initialize default postprocess effects


Parameter(s):
|s1= [terrain, activation] call [[BIS_fnc_ambientPostprocess]]
_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:
|p1= terrain: [[String]] - (Optional, default [[worldName]]) terrain from which to take post-process effets configuration
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
|p2= [[String]] or [[Boolean]] - (Optional, default [[true]]) post-process type to get, or [[true]] to get all of them. '''Any effect but "filmGrain"'''.


|p1= |= Parameter 1
|r1= [[Array]] of initialized effects with values


| |= Return value
|x1= <sqf>[] call BIS_fnc_ambientPostprocess;</sqf>
____________________________________________________________________________________________


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


|seealso= [[Post Process Effects]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Ambient|{{uc:ambientPostprocess}}]]
[[Category:Functions|{{uc:ambientPostprocess}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:ambientPostprocess}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:ambientPostprocess}}]]

Latest revision as of 00:24, 13 July 2022

Hover & click on the images for description

Description

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

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