12345678910111213141516171819202122232425262728293031323334 |
- = effectmanager
- :author:
- :revnumber:
- :revdate: 2016/03/17 20:48
- :relfileprefix: ../../../
- :imagesdir: ../../..
- ifdef::env-github,env-browser[:outfilesuffix: .adoc]
- == EffectManager
- The EffectManager can be used to execute Effects, BatchEffects and EffectQueues against a single Element or a group of nested or separate Elements. Effects include shader-based effects, geometry-based effects and can include an audio event if UIAudio has been enabled.
- The EffectManager is accessed through the Screen class, like so:
- [source,java]
- ----
- screen.getEffectManager();
- ----
- === Methods specific to the EffectMAnager
- [source,java]
- ----
- screen.getEffectManager().applyEffect(Effect effect);
- screen.getEffectManager().applyEffectQueue(EffectQueue queue);
- screen.getEffectManager().applyBatchEffect(BatchEffect batch);
- ----
|