Chapter 311: PixiPlugin.registerPIXI
Core Idea
Registers the main PIXI library object with the PixiPlugin so that it can find the necessary classes/objects. You only need to register it once.
Key Concepts
-
PIXI: Object
- Container: (required)
- Sprite: (optional) Needed to render a textured object
- filters: (optional) Needed to animate
ColorMatrixFilter and BlurFilter properties
Code Examples
PixiPlugin.registerPIXI(PIXI);
- What it demonstrates: typical usage of PixiPlugin.registerPIXI in a GSAP animation.
Key Takeaways
-
PIXI: Object
- Container: (required)
- Sprite: (optional) Needed to render a textured object
- filters: (optional) Needed to animate
ColorMatrixFilter and BlurFilter properties