An effect source is constructed by providing configuration options.
Optional
options: BasseEffectSourceOptions = {}Options which modify the base effect source instance
The animation configuration applied to this source
Track the status of rendering layers
The color of the source as an RGB vector.
Some other object which is responsible for this source.
The source id linked to this effect source.
The data of this source.
The geometric shape of the effect source which is generated later.
Records of suppression strings with a boolean value. If any of this record is true, the source is suppressed.
Protected
_geometryPIXI Geometry generated to draw meshes.
Protected
_flagsA collection of boolean flags which control rendering and refresh behavior for the source.
Private
#updateArray of update uniforms functions.
Static
EDGE_The offset in pixels applied to create soft edges.
Static
defaultEffect source default data.
Static
sourceThe type of source represented by this data structure. Each subclass must implement this attribute.
Static
effectsThe target collection into the effects canvas group.
Static
Protected
_initializeKeys of the data object which require shaders to be re-initialized.
Static
Protected
_refreshKeys of the data object which require uniforms to be refreshed.
Is the rendered source animated?
Has the rendered source at least one active layer?
Is this RenderedEffectSource a temporary preview?
A convenience accessor to the background layer mesh.
A convenience accessor to the coloration layer mesh.
A convenience accessor to the illumination layer mesh.
The x-coordinate of the point source origin.
The y-coordinate of the point source origin.
The elevation bound to this source.
The EffectsCanvasGroup collection linked to this effect source.
Returns the update ID associated with this source. The update ID is increased whenever the shape of the source changes.
Is this source currently active? A source is active if it is attached to an effect collection and is not disabled or suppressed.
Is this source attached to an effect collection?
Is this source temporarily suppressed?
Static
Protected
_layersProtected
Layers handled by this rendered source.
Generic time-based animation used for Rendered Point Sources.
Delta time.
Optional
options: { Options which affect the time animation
The animation speed, from 0 to 10
The animation intensity, from 1 to 10
Reverse the animation direction
Initialize and configure the source using provided data.
Provided data for configuration
Additional options which modify source initialization
An object containing optional behaviors to apply.
Should source data be reset to default values before applying changes?
The initialized source
Protected
_initializeProtected
_configureProtected
_updateProtected
_drawProtected
_updateProtected
_updateProtected
_updateProtected
_updateProtected
_createPrivate
_configurePrivate
Configure which shaders are used for each rendered layer.
Private
#initializePrivate
#initializePrivate
#createPrivate
#createPrivate
#updatePrivate
#updateStatic
getStatic
getStatic
Private
#create
An abstract class which extends the base PointSource to provide common functionality for rendering. This class is extended by both the LightSource and VisionSource subclasses.
Abstract