The filter used to mask visual effects on this layer
Options for this layer instance.
Private
#backgroundTemporary solution for the "white scene" bug (foundryvtt/foundryvtt#9957).
Private
#drawingAn internal reference to a Promise in-progress to draw the CanvasLayer.
Private
#drawnIs the layer drawn?
The canonical name of the CanvasLayer is the name of the constructor that is the immediate child of the defined baseClass for the layer type.
canvas.lighting.name -> "LightingLayer"
The name used by hooks to construct their hook string. Note: You should override this getter if hookName should not return the class constructor name.
Static
layerCustomize behaviors of this CanvasLayer by modifying some behaviors at a class level.
Static
instanceReturn a reference to the active instance of this canvas layer
Draw the canvas layer, rendering its internal components and returning a Promise. The Promise resolves to the drawn layer once its contents are successfully rendered.
Optional
options: object = {}Options which configure how the layer is drawn
Deconstruct data used in the current layer in preparation to re-draw the canvas
Optional
options: object = {}Options which configure how the layer is deconstructed
A CanvasLayer for displaying coloration visual effects