ppEffectAdjust: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ") |
||
Line 21: | Line 21: | ||
{{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.}} | {{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 | |s1= effect [[ppEffectAdjust]] settings | ||
|p1= effect: [[String]] effect name | |p1= effect: [[String]] effect name | ||
Line 29: | Line 29: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|s2= handle | |s2= handle [[ppEffectAdjust]] settings | ||
|p21= handle: [[Number]] - effect handle | |p21= handle: [[Number]] - effect handle |
Revision as of 17:59, 20 June 2021
Description
- Description:
- Set post process effect parameters.
- Groups:
- Camera Control
Syntax
- Syntax:
- effect ppEffectAdjust settings
- Parameters:
- effect: String effect name
- settings: Array - array of effect params
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- handle ppEffectAdjust settings
- Parameters:
- handle: Number - effect handle
- 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 effectsppEffectForceInNVGppEffectEnableppEffectEnabledppEffectDestroyppEffectCreateppEffectCommittedppEffectCommitsetPiPEffect
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