ppEffectAdjust: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
(some perks of the command)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set [[Post process effects|post process effect]] parameters |= Description
| Set [[Post process effects|post process effect]] parameters.
{{Informative|This command flattens the passed array of Post Process params, which means a color, for example, could be passed as array [...[1,1,1,1],...] or not [...1,1,1,1,...]}} |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 17:18, 22 July 2017

Hover & click on the images for description

Description

Description:
Set post process effect parameters.
This command flattens the passed array of Post Process params, which means a color, for example, could be passed as array [...[1,1,1,1],...] or not [...1,1,1,1,...]
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,0.0,0.0],[1.5,1,1.2,0.6],[0.199,0.587,0.114,0.20]];
Example 2:
Black&White: _eff ppEffectAdjust [1,0.4,0,[0,0,0,0],[1,1,1,0],[1,1,1,1]];

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