Description
Set post process effect parameters.
Note
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.
Syntax
Syntax 1
effect ppEffectAdjust settings
Parameters:
Returns: Nothing
Syntax 2
Returns: 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]];
See also
Post Process Effects · ppEffectForceInNVG · ppEffectEnable · ppEffectEnabled · ppEffectDestroy · ppEffectCreate · ppEffectCommitted · ppEffectCommit · setPiPEffect