ppEffectAdjust: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set [[Post process effects|post process effect]] parameters. <br><br>'''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. |= Description
| Set [[Post process effects|post process effect]] parameters. <br><br>'''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. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| effect '''ppEffectAdjust''' settings |= Syntax
| effect '''ppEffectAdjust''' settings |SYNTAX=


|p1= effect: [[String]] effect name |PARAMETER1=  
|p1= effect: [[String]] effect name |PARAMETER1=  
Line 22: Line 22:
| [[Nothing]] |RETURNVALUE=  
| [[Nothing]] |RETURNVALUE=  


| s2= effect '''ppEffectAdjust''' settings |= Syntax
| s2= effect '''ppEffectAdjust''' settings |SYNTAX=


|p21= effect: [[Number]] - effect handle |PARAMETER1=  
|p21= effect: [[Number]] - effect handle |PARAMETER1=  

Revision as of 14:44, 7 April 2019

Hover & click on the images for description

Description

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.
Groups:
Uncategorised

Syntax

Syntax:
effect ppEffectAdjust settings
Parameters:
effect: String effect name
settings: Array - array of effect params
Return Value:
Nothing

Alternative Syntax

Syntax:
effect ppEffectAdjust settings
Parameters:
effect: 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

Notes

Bottom Section