ppEffectCreate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added to "see also" and <pre> to <code>)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Create post process effect specified by effect name and priority.
| Create [[Post process effects]] specified by effect name and priority.


See class CfgOpticsEffect for examples using:
See class CfgOpticsEffect for examples using:
Line 33: Line 33:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <pre>_ppGrain = ppEffectCreate ["filmGrain", 2005];</pre>|= EXAMPLE1  
|x1= <code>_ppGrain = [[ppEffectCreate]] ["filmGrain", 2005];</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Post process effects]], [[ppEffectAdjust]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectDestroy]], [[ppEffectEnable]] |= SEEALSO  
| [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectEnable]], [[ppEffectDestroy]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectAdjust]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 02:53, 21 March 2014

Hover & click on the images for description

Description

Description:
Create Post process effects specified by effect name and priority. See class CfgOpticsEffect for examples using:
  • "radialBlur"
  • "chromAberration"
  • "wetDistortion"
  • "colorCorrections"
  • "dynamicBlur"
  • "filmGrain"
  • "colorInversion"
Groups:
Uncategorised

Syntax

Syntax:
ppEffectCreate effect
Parameters:
effect: [name, priority]
name: String - name of effect type.
priority: Number - unique priority
Return Value:
Number - handle

Examples

Example 1:
_ppGrain = ppEffectCreate ["filmGrain", 2005];

Additional Information

See also:
Post process effectsppEffectForceInNVGppEffectEnableppEffectDestroyppEffectCommitppEffectCommittedppEffectAdjust

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

For some examples, check this topic - Lou Montana

Bottom Section