BIS fnc ambientPostprocess: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "Post process effects" to "Post Process Effects")
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| tkoh |Game name=
|game1= tkoh
|version1= 1.00


|1.00|Game version=
|game2= arma3
|version2= 0.50


|gr1 = Ambient |GROUP1=
|gr1= Ambient


|eff= local |= Effect
|eff= local


| Initialize terrain-related postprocess effects. |DESCRIPTION=
|descr= Initialize terrain-related postprocess effects.


| [terrain, activation] call [[BIS_fnc_ambientPostprocess]] |SYNTAX=
|s1= [terrain, activation] call [[BIS_fnc_ambientPostprocess]]


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


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


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


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


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


| [[Post process effects]] |SEEALSO=
|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:Functions|{{uc:ambientPostprocess}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:ambientPostprocess}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:ambientPostprocess}}]]

Latest revision as of 23:24, 12 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