Creates a new ShadowMethodBase object.
The light used to cast shadows.
adapter is used to provide MovieClip to scripts taken from different platforms setter typically managed by factory. getter defaults to AwayJS class
A unique id for the asset, used to identify assets in an associative array
The original name used for this asset in the resource (e.g. file) in which
it was found. This may not be the same as name
, which may
have changed due to of a name conflict.
The "transparency" of the shadows. This allows making shadows less strong.
The "transparency" of the shadows. This allows making shadows less strong.
The light casting the shadows.
A small value to counter floating point precision errors when comparing values in the shadow map with the calculated depth value. Increase this if shadow banding occurs, decrease it if the shadow seems to be too detached.
A small value to counter floating point precision errors when comparing values in the shadow map with the calculated depth value. Increase this if shadow banding occurs, decrease it if the shadow seems to be too detached.
Add an event listener
Copies the state from a ShadingMethodBase object into the current object.
Dispatch an event
Cleans up any resources used by the current object.
check if an object has an event listener assigned to it
Marks the shader program as invalid, so it will be recompiled before the next render.
Remove an event listener
Generated using TypeDoc
ShadowMethodBase provides an abstract base method for shadow map methods.