Creates a new EffectAlphaMaskMethod object.
The texture to use as the alpha mask.
Indicated whether or not the secondary uv set for the mask. This allows mapping alpha independently.
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 texture to use as the alpha mask.
The texture to use as the alpha mask.
Indicated whether or not the secondary uv set for the mask. This allows mapping alpha independently, for instance to tile the main texture and normal map while providing untiled alpha, for example to define the transparency over a tiled water surface.
Indicated whether or not the secondary uv set for the mask. This allows mapping alpha independently, for instance to tile the main texture and normal map while providing untiled alpha, for example to define the transparency over a tiled water surface.
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
EffectAlphaMaskMethod allows the use of an additional texture to specify the alpha value of the material. When used with the secondary uv set, it allows for a tiled main texture with independently varying alpha (useful for water etc).