Creates a new EffectRimLightMethod
object.
The colour of the rim light.
The strength of the rim light.
The power of the rim light. Higher values will result in a higher edge fall-off.
The blend mode with which to add the light to the object.
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 blend mode with which to add the light to the object.
EffectRimLightMethod.MULTIPLY multiplies the rim light with the material's colour. EffectRimLightMethod.ADD adds the rim light with the material's colour. EffectRimLightMethod.MIX provides normal alpha blending.
The blend mode with which to add the light to the object.
EffectRimLightMethod.MULTIPLY multiplies the rim light with the material's colour. EffectRimLightMethod.ADD adds the rim light with the material's colour. EffectRimLightMethod.MIX provides normal alpha blending.
The color of the rim light.
The color of the rim light.
The power of the rim light. Higher values will result in a higher edge fall-off.
The power of the rim light. Higher values will result in a higher edge fall-off.
The strength of the rim light.
The strength of the rim light.
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
EffectRimLightMethod provides a method to add rim lighting to a material. This adds a glow-like effect to edges of objects.