An effect source is constructed by providing configuration options.
Optional
options: BasseEffectSourceOptions = {}Options which modify the base effect source instance
The vision mode linked to this VisionSource
Internal
_visionThe vision mode activation flag for handlers
The unconstrained LOS polygon.
The polygon of light perception.
Records of blinding strings with a boolean value. By default, if any of this record is true, the source is blinded.
Data overrides that could happen with blindness vision mode.
Static
sourceStatic
_initializeStatic
_refreshStatic
EDGE_Static
effectsStatic
defaultStatic
Protected
_dimThe corresponding lighting levels for dim light.
Static
Protected
_brightThe corresponding lighting levels for bright light.
An alias for the shape of the vision source.
If this vision source background is rendered into the lighting container.
Is the rendered source animated?
Light perception radius of this vision source, taking into account if the source is blinded.
Is this source temporarily blinded?
Private
#hasTo know if blindness vision mode is configured for this source. Note: Convenient method used to avoid calling this.blinded which is costly.
Static
_layersProtected
_updateProtected
_createProtected
Creates the polygon that represents light perception. If the light perception radius is unconstrained, no new polygon instance is created; instead the LOS polygon of this vision source is returned.
The new polygon or this.los
.
Protected
_createProtected
Create a restricted FOV polygon by limiting the radius of the unrestricted LOS polygon. If the vision radius is unconstrained, no new polygon instance is created; instead the LOS polygon of this vision source is returned.
The new polygon or this.los
.
Protected
_updatePrivate
#updatePrivate
#createCreate a constrained polygon by limiting the radius of the unrestricted LOS polygon. If the radius is unconstrained, no new polygon instance is created; instead the LOS polygon of this vision source is returned.
The radius to constraint to.
The new polygon or this.los
.
Static
getStatic
get
A specialized subclass of RenderedEffectSource which represents a source of point-based vision.