View source
class ProjectiveTextureMethod
package away3d.materials.methods
extends EffectMethodBase › ShadingMethodBase › NamedAssetBase
Available on all platforms
ProjectiveTextureMethod is a material method used to project a texture unto the surface of an object. This can be used for various effects apart from acting like a normal projector, such as projecting fake shadows unto a surface, the impact of light coming through a stained glass window, ...
Static variables
Constructor
new(projector:TextureProjector, mode:BlendMode = MULTIPLY)
Creates a new ProjectiveTextureMethod object.
Parameters:
projector | The TextureProjector object that defines the projection properties as well as the texture. |
|---|---|
mode | The blend mode with which the texture is blended unto the surface. |
See also:
away3d.entities.TextureProjector