View source
class EnvMapMethod
package away3d.materials.methods
extends EffectMethodBase › ShadingMethodBase › NamedAssetBase
Available on all platforms
EnvMapMethod provides a material method to perform reflection mapping using cube maps.
Constructor
new(envMap:CubeTextureBase, alpha:Float = 1)
Creates an EnvMapMethod object.
Parameters:
envMap | The environment map containing the reflected scene. |
|---|---|
alpha | The reflectivity of the surface. |