This callback is invoked when this Game Object is copied by a PreFX Pipeline.
This happens when the pipeline uses its copySprite
method.
It's invoked prior to the copy, allowing you to set shader uniforms, etc on the pipeline.
name | type | description |
---|---|---|
pipeline | Phaser.Renderer.WebGL.Pipelines.PreFXPipeline |
The PreFX Pipeline that invoked this callback. |