EnvMapMethod
EnvMapMethod provides a material method to perform reflection mapping using cube maps.
Inherited from EffectMethodBase -> ShadingMethodBase -> NamedAssetBase -> EventDispatcher.
Can be created using method new:
Lib.Away3D.Materials.Methods.EnvMapMethod.new(envMap, alpha) |
Creates an EnvMapMethod object. |
envMap - The environment map containing the reflected scene. (CubeTextureBase) alpha - (default = 1) - The reflectivity of the surface. |
Created EnvMapMethod object has properties:
alpha |
The reflectivity of the surface. |
envMap |
The cubic environment map containing the reflected scene. (CubeTextureBase) |
mask |
An optional texture to modulate the reflectivity of the surface. (Texture2DBase) |
methods:
dispose() |
[override] Cleans up resources used by this asset. |
|
Created with the Personal Edition of HelpNDoc: Easily create iPhone documentation