The current background mesh for this source
The current vision illumination mesh for this source
The current vision coloration mesh for this source
The vision mode linked to this VisionSource
The object of data which configures how the source is rendered
The constrained LOS polygon that is generated by the origin and radius of this source.
The animation configuration applied to this source
The restricted line-of-sight polygon that is generated by the origin and radius of this source.
The maximum radius of emission for this source
The PlaceableObject which is the origin of this PointSource.
A flag for whether this source is currently rendered or not.
A Graphics object with pre-computed geometry used for masking based on line-of-sight.
Additional information which controls whether certain behaviors of the source must be enforced
To track meshes initialization
Track which uniforms need to be reset
To track if a source is temporarily shutdown to avoid glitches
The type of source represented by this data structure. Each subclass must implement this attribute.
The offset in pixels applied to create soft edges.
Keys in the VisionSourceData structure which, when modified, change the appearance of the source
Is this VisionSource a temporary preview which should not produce fog exploration?
If this vision source background is rendered into the lighting container.
The x-coordinate of the point source origin.
The y-coordinate of the point source origin.
The type of source represented by this data structure.
The elevation of the object bound to this base source, if any. Returns the canvas primary background elevation otherwise.
If the source is animated or not.
Initialize the source with provided object data.
Initial data provided to the point source.
A reference to the initialized source.
Create all meshes needed with this PointSource
Steps that must be performed when the base source is destroyed.
Render the containers used to represent this light source within the LightingLayer.
Draw the background mesh which provide special vision.
The rendered light container.
Draw the illumination mesh which provide vision.
The rendered light container.
Draw and return a container used to depict the visible color tint of the light source on the LightingLayer
An updated color container for the source
Generic time animation with Vision Sources.
Delta time.
A point is contained with the area of the source if it is within both the FOV circle and the LOS polygon.
The point to test
Is the point contained
Animate the BaseSource, if an animation is enabled and if it currently has rendered containers.
Delta time.
Responsible for assigning the Vision Mode and handling exceptions based on vision special status.
Create a restricted FOV polygon by limiting the radius of the unrestricted LOS polygon.
Update all layer uniforms.
Create or update the source geometry with a polygon shape Triangulate the form and create buffers
The pixi polygon
Create the LOS polygon for this Light Source instance using provided parameters.
Create or update the source geometry and create meshes if necessary
A pixi polygon
Create a new Mesh for this source using a provided shader class
The subclass of AdaptiveLightingShader being used for this Mesh
The created Mesh
Update the position and size of the mesh each time it is drawn.
The Mesh being updated
The updated Mesh
Initialize the shaders used for this source, swapping to a different shader if the vision effect has changed.
Initialize the blend mode and vertical sorting of this source relative to others in the container.
Process new input data provided to the LightSource.
Initial data provided to the vision source
The changes compared to the prior data
Update shader uniforms by providing data from this PointSource
Update shader uniforms by providing data from this PointSource
Update shader uniforms by providing data from this PointSource
Update shader uniforms shared by all shader types
The shader being updated
A specialized subclass of the PointSource abstraction which is used to control the rendering of vision sources.
The Token object that generates this vision source