Creates a new EffectLightMapMethod object.
The texture containing the light map.
The blend mode with which the light map should be applied to the lighting result.
Indicates whether the secondary UV set should be used to map the light map.
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.
Indicates the light map should be added into the calculated shading result.
Indicates the light map should be multiplied with the calculated shading result.
The blend mode with which the light map should be applied to the lighting result.
The blend mode with which the light map should be applied to the lighting result.
The lightMap containing the light map.
The lightMap containing the light map.
Indicates whether the secondary UV set should be used to map the light map.
Indicates whether the secondary UV set should be used to map the light map.
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
EffectLightMapMethod provides a method that allows applying a light map texture to the calculated pixel colour. It is different from DiffuseLightMapMethod in that the latter only modulates the diffuse shading value rather than the whole pixel colour.