Creates a new NormalSimpleWaterMethod 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.
A second normal map that will be combined with the first to create a wave-like animation pattern.
A second normal map that will be combined with the first to create a wave-like animation pattern.
A texture to modulate the direction of the surface for each texel (normal map). The default normal method expects tangent-space normal maps, but others could expect object-space maps.
A texture to modulate the direction of the surface for each texel (normal map). The default normal method expects tangent-space normal maps, but others could expect object-space maps.
The translation of the first wave layer along the X-axis.
The translation of the first wave layer along the X-axis.
The translation of the first wave layer along the Y-axis.
The translation of the first wave layer along the Y-axis.
The translation of the second wave layer along the X-axis.
The translation of the second wave layer along the X-axis.
The translation of the second wave layer along the Y-axis.
The translation of the second wave layer along the Y-axis.
Add an event listener
Dispatch an event
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
NormalSimpleWaterMethod provides a basic normal map method to create water ripples by translating two wave normal maps.