setToneMappingParams: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
m (Text replacement - "Post process effects" to "Post Process Effects")
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma2oa |Game name=
|game1= arma2oa
|version1= 1.62


|1.62|Game version=
|game2= tkoh
____________________________________________________________________________________________
|version2= 1.00


| Edits tone mapping parameters.<br><br>
|eff= local


{{Feature arma3|This command is not present in Arma 3.}}|DESCRIPTION=
|gr1= System
____________________________________________________________________________________________


| toneName '''setToneMappingParams''' params |SYNTAX=
|descr= Edits tone mapping parameters.
{{Feature|arma3|This command is not present in {{arma3}}.}}


|p1= toneName: [[String]] - where string is effect name - defaults are ''Arma'', ''Filmic'' and ''Reinhard''. |PARAMETER1=
|s1= toneName [[setToneMappingParams]] params


|p2= params: [[Array]] - (''please populate'') |PARAMETER2=
|p1= toneName: [[String]] - can be one of:
* "Arma"
* "Filmic"
* "Reinhard"


| Nothing |RETURNVALUE=  
|p2= params: [[Array]] - (''please populate'')


|r1= [[Nothing]]


|x1= <code>"Filmic" setToneMappingParams [0.2, 0.30, 0.20, 0.30, 0.01, 3.750, 6, 4]</code>|EXAMPLE1=
|x1= <sqf>"Filmic" setToneMappingParams [0.2, 0.30, 0.20, 0.30, 0.01, 3.750, 6, 4];</sqf>
|x2= <code>"Reinhard" setToneMappingParams [0.9, -0.003]</code>|EXAMPLE2=


____________________________________________________________________________________________
|x2= <sqf>"Reinhard" setToneMappingParams [0.9, -0.003];</sqf>


| [[setToneMapping]], [[ppEffectAdjust]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectCreate]], [[ppEffectDestroy]], [[Post process effects]] |SEEALSO=
|seealso= [[setToneMapping]] [[ppEffectAdjust]] [[ppEffectCommit]] [[ppEffectCommitted]] [[ppEffectCreate]] [[ppEffectDestroy]] [[Post Process Effects]]
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<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:Arma 2: Operation Arrowhead: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 23:24, 12 July 2022

Hover & click on the images for description

Description

Description:
Edits tone mapping parameters.
Arma 3
This command is not present in Arma 3.
Groups:
System

Syntax

Syntax:
toneName setToneMappingParams params
Parameters:
toneName: String - can be one of:
  • "Arma"
  • "Filmic"
  • "Reinhard"
params: Array - (please populate)
Return Value:
Nothing

Examples

Example 1:
"Filmic" setToneMappingParams [0.2, 0.30, 0.20, 0.30, 0.01, 3.750, 6, 4];
Example 2:
"Reinhard" setToneMappingParams [0.9, -0.003];

Additional Information

See also:
setToneMapping ppEffectAdjust ppEffectCommit ppEffectCommitted ppEffectCreate ppEffectDestroy Post Process Effects

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note