Adds the given FX Controler to this FX Component.
Note that adding an FX Controller does not remove any existing FX. They all stack-up
on-top of each other. If you don't want this, make sure to call either remove
or
clear
first.
name | type | arguments | description |
---|---|---|---|
fx | Phaser.FX.Controller |
The FX Controller to add to this FX Component. |
|
config | object | <optional> |
Optional configuration object that is passed to the pipeline during instantiation. |
The FX Controller.