setToneMappingParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2oa
|game1= arma2oa
|version1= 1.62


|1.62
|eff= local


|gr1= System
|gr1= System


| Edits tone mapping parameters.<br><br>
|descr= Edits tone mapping parameters.
{{Feature|arma3|This command is not present in {{arma3}}.}}


{{Feature|arma3|This command is not present in Arma 3.}}
|s1= toneName [[setToneMappingParams]] params


| toneName '''setToneMappingParams''' params
|p1= toneName: [[String]] - can be one of:
 
* "Arma"
|p1= toneName: [[String]] - where string is effect name - defaults are ''Arma'', ''Filmic'' and ''Reinhard''.
* "Filmic"
* "Reinhard"


|p2= params: [[Array]] - (''please populate'')
|p2= params: [[Array]] - (''please populate'')
Line 19: Line 22:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|seealso= [[setToneMapping]], [[ppEffectAdjust]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectCreate]], [[ppEffectDestroy]], [[Post process effects]]
|seealso= [[setToneMapping]], [[ppEffectAdjust]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectCreate]], [[ppEffectDestroy]], [[Post process effects]]
}}
}}
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma2|Scripting Commands}}

Revision as of 22:57, 12 June 2021

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:
setToneMappingppEffectAdjustppEffectCommitppEffectCommittedppEffectCreateppEffectDestroyPost 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