ppEffectAdjust: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "\{\{Feature *\| *Informative *\| ([^↵]+) *\}\}" to "{{Feature|informative|$1}}") |
||
(59 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma2 |= | |game1= arma2 | ||
|version1= 1.00 | |||
|1. | |game2= arma2oa | ||
|version2= 1.50 | |||
| | |game3= tkoh | ||
|version3= 1.00 | |||
| | |game4= arma3 | ||
|version4= 0.50 | |||
| | |eff= local | ||
| | |gr1= Camera Control | ||
| | |descr= Set [[Post Process Effects|post process effect]] parameters. | ||
| | {{Feature|informative|The two syntaxes differ in what format of the params they accept. The syntax with PP name expects colors to be packed into arrays within main array, while the syntax with PP handle can handle both flat and packed array. Therefore it is recommended to use the universal packed format, such as shown in the examples.}} | ||
| [[ | |s1= effect [[ppEffectAdjust]] settings | ||
| | |p1= effect: [[String]] or [[Number]] | ||
* [[String]] - effect name | |||
* [[Number]] - effect handle | |||
| | |p2= settings: [[Array]] - array of effect params | ||
| | |r1= [[Nothing]] | ||
| | |r2= [[Nothing]] | ||
| | |x1= <sqf>"colorCorrections" ppEffectAdjust [1, 1, -0.01, [0, 0, 0, 0], [1.5, 1, 1.2, 0.6], [0.199, 0.587, 0.114, 0]];</sqf> | ||
|x2= Black&White: | |||
<sqf>_colorCorrectionsEffHandle ppEffectAdjust [1, 0.4, 0, [0, 0, 0, 0], [1, 1, 1, 0], [1, 1, 1, 0]];</sqf> | |||
| | |seealso= [[Post Process Effects]] [[ppEffectForceInNVG]] [[ppEffectEnable]] [[ppEffectEnabled]] [[ppEffectDestroy]] [[ppEffectCreate]] [[ppEffectCommitted]] [[ppEffectCommit]] [[setPiPEffect]] | ||
}} | }} | ||
Latest revision as of 18:11, 15 March 2024
Description
- Description:
- Set post process effect parameters.
- Groups:
- Camera Control
Syntax
- Syntax:
- effect ppEffectAdjust settings
- Parameters:
- effect: String or Number
- settings: Array - array of effect params
- Return Value:
- Nothing
Examples
- Example 1:
- "colorCorrections" ppEffectAdjust [1, 1, -0.01, [0, 0, 0, 0], [1.5, 1, 1.2, 0.6], [0.199, 0.587, 0.114, 0]];
- Example 2:
- Black&White:
_colorCorrectionsEffHandle ppEffectAdjust [1, 0.4, 0, [0, 0, 0, 0], [1, 1, 1, 0], [1, 1, 1, 0]];
Additional Information
- See also:
- Post Process Effects ppEffectForceInNVG ppEffectEnable ppEffectEnabled ppEffectDestroy ppEffectCreate ppEffectCommitted ppEffectCommit setPiPEffect
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