Creates a new EffectRefractionEnvMapMethod object. Example values for dispersion are: dispersionR: -0.03, dispersionG: -0.01, dispersionB: = .0015
The environment map containing the refracted scene.
The refractive index of the material.
The amount of chromatic dispersion of the red channel. Defaults to 0 (none).
The amount of chromatic dispersion of the green channel. Defaults to 0 (none).
The amount of chromatic dispersion of the blue channel. Defaults to 0 (none).
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 reflectivity of the surface.
The reflectivity of the surface.
The amount of chromatic dispersion of the blue channel. Defaults to 0 (none).
The amount of chromatic dispersion of the blue channel. Defaults to 0 (none).
The amount of chromatic dispersion of the green channel. Defaults to 0 (none).
The amount of chromatic dispersion of the green channel. Defaults to 0 (none).
The amount of chromatic dispersion of the red channel. Defaults to 0 (none).
The amount of chromatic dispersion of the red channel. Defaults to 0 (none).
The cubic environment map containing the reflected scene.
The cubic environment map containing the reflected scene.
An optional texture to modulate the reflectivity of the surface.
An optional texture to modulate the reflectivity of the surface.
The refractive index of the material.
The refractive index of the material.
Add an event listener
Copies the state from a ShadingMethodBase object into the current object.
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
EffectRefractionEnvMapMethod provides a method to add refracted transparency based on cube maps.