Package | away3d.materials |
Class | public class TextureMultiPassMaterial |
Inheritance | TextureMultiPassMaterial MultiPassMaterialBase MaterialBase NamedAssetBase flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
alphaPremultiplied : Boolean
Indicates whether visible textures (or other pixels) used by this material have
already been premultiplied. | MaterialBase | ||
alphaThreshold : Number
The minimum alpha value for which pixels should be drawn. | MultiPassMaterialBase | ||
ambient : Number
The strength of the ambient reflection. | MultiPassMaterialBase | ||
ambientColor : uint
The colour of the ambient reflection. | MultiPassMaterialBase | ||
ambientMethod : BasicAmbientMethod
The method to perform ambient shading. | MultiPassMaterialBase | ||
ambientTexture : Texture2DBase
The texture object to use for the ambient colour. | TextureMultiPassMaterial | ||
animateUVs : Boolean | TextureMultiPassMaterial | ||
assetFullPath : Array [read-only] | NamedAssetBase | ||
assetNamespace : String [read-only] | NamedAssetBase | ||
assetType : String [read-only] | MaterialBase | ||
blendMode : String [override] | MultiPassMaterialBase | ||
bothSides : Boolean
Defines whether or not the material should perform backface culling. | MaterialBase | ||
depthCompareMode : String [override] | MultiPassMaterialBase | ||
diffuseLightSources : uint | MultiPassMaterialBase | ||
diffuseMethod : BasicDiffuseMethod
The method to perform diffuse shading. | MultiPassMaterialBase | ||
extra : Object
An object to contain any extra data
| MaterialBase | ||
gloss : Number
The sharpness of the specular highlight. | MultiPassMaterialBase | ||
lightPicker : LightPickerBase [override] | MultiPassMaterialBase | ||
mipmap : Boolean [override]
Indicates whether or not any used textures should use mipmapping. | MultiPassMaterialBase | ||
name : String [override] | MaterialBase | ||
normalMap : Texture2DBase
The tangent space normal map to influence the direction of the surface for each texel. | MultiPassMaterialBase | ||
normalMethod : BasicNormalMethod
The method to generate the (tangent-space) normal. | MultiPassMaterialBase | ||
numMethods : int [read-only] | MultiPassMaterialBase | ||
originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | ||
repeat : Boolean
Indicates whether or not any used textures should be tiled. | MaterialBase | ||
requiresBlending : Boolean [override] [read-only]
Indicates whether or not the material requires alpha blending during rendering. | MultiPassMaterialBase | ||
shadowMethod : ShadowMapMethodBase
The method to render shadows cast on this surface. | MultiPassMaterialBase | ||
smooth : Boolean
Indicates whether or not any used textures should use smoothing. | MaterialBase | ||
specular : Number
The overall strength of the specular reflection. | MultiPassMaterialBase | ||
specularColor : uint
The colour of the specular reflection. | MultiPassMaterialBase | ||
specularLightSources : uint | MultiPassMaterialBase | ||
specularMap : Texture2DBase
A specular map that defines the strength of specular reflections for each texel in the red channel, and the gloss factor in the green channel. | MultiPassMaterialBase | ||
specularMethod : BasicSpecularMethod
The method to perform specular shading. | MultiPassMaterialBase | ||
texture : Texture2DBase
The texture object to use for the albedo colour. | TextureMultiPassMaterial | ||
uniqueId : uint [read-only]
The unique id assigned to the material by the MaterialLibrary. | MaterialBase |
Method | Defined By | ||
---|---|---|---|
TextureMultiPassMaterial(texture:Texture2DBase = null, smooth:Boolean = true, repeat:Boolean = false, mipmap:Boolean = true) | TextureMultiPassMaterial | ||
addMethod(method:EffectMethodBase):void
Adds a shading method to the end of the shader. | MultiPassMaterialBase | ||
addMethodAt(method:EffectMethodBase, index:int):void
Adds a shading method to the end of a shader, at the specified index amongst
the methods in that section of the shader. | MultiPassMaterialBase | ||
assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | ||
dispose():void
Cleans up any resources used by the current object. | MaterialBase | ||
getMethodAt(index:int):EffectMethodBase | MultiPassMaterialBase | ||
hasMethod(method:EffectMethodBase):Boolean | MultiPassMaterialBase | ||
removeMethod(method:EffectMethodBase):void | MultiPassMaterialBase | ||
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase |
Method | Defined By | ||
---|---|---|---|
addPass(pass:MaterialPassBase):void
Adds a pass to the material
| MaterialBase | ||
clearPasses():void
Clears all passes in the material. | MaterialBase | ||
invalidateScreenPasses():void | MultiPassMaterialBase | ||
removePass(pass:MaterialPassBase):void | MaterialBase | ||
updateScreenPasses():void [override] | TextureMultiPassMaterial |
ambientTexture | property |
ambientTexture:Texture2DBase
The texture object to use for the ambient colour.
public function get ambientTexture():Texture2DBase
public function set ambientTexture(value:Texture2DBase):void
animateUVs | property |
animateUVs:Boolean
public function get animateUVs():Boolean
public function set animateUVs(value:Boolean):void
texture | property |
texture:Texture2DBase
The texture object to use for the albedo colour.
public function get texture():Texture2DBase
public function set texture(value:Texture2DBase):void
TextureMultiPassMaterial | () | Constructor |
public function TextureMultiPassMaterial(texture:Texture2DBase = null, smooth:Boolean = true, repeat:Boolean = false, mipmap:Boolean = true)
texture:Texture2DBase (default = null )
| |
smooth:Boolean (default = true )
| |
repeat:Boolean (default = false )
| |
mipmap:Boolean (default = true )
|
updateScreenPasses | () | method |
override protected function updateScreenPasses():void