The HTML canvas element that this view renders to.
This canvas is created and managed by the PixiJS Application instance within the MultiView billboard. The canvas content is automatically updated when the PixiJS container is modified and rendering is triggered.
The PixiJS Container that serves as the root for this view's display objects.
This container is where all PixiJS content should be added for this particular billboard instance. Each MultiView billboard has its own independent container, allowing for isolated content management.
Flag indicating whether this view has been disposed and should no longer be used.
When true
, the view's resources have been cleaned up and the object should be
considered invalid. Accessing other properties or methods after disposal may
result in undefined behavior.
true
during the disposal processThe Three.js Texture that uses this view's canvas as its source.
This texture is automatically created and configured to use the view's canvas as its image source. The texture is updated when the PixiJS content changes and rendering is triggered.
Interface that defines the contract for renderable PixiJS views in the MultiView billboard system.
This interface establishes the core properties and capabilities that all MultiView billboard implementations must provide. It ensures consistency across different MultiView classes and enables polymorphic usage of billboard objects.
Design Philosophy
The IRenderablePixiView interface abstracts the common characteristics of MultiView billboards:
Implementation Classes
This interface is implemented by:
MultiViewPixiBillboard
: Sprite-based billboard with independent PixiJS canvasMultiViewPixiPlaneMesh
: Mesh-based billboard with independent PixiJS canvasUsage Context
The interface is primarily used by:
PixiMultiViewManager
for managing collections of MultiView instancesExample