Package | away3d.materials |
Class | public class ColorMultiPassMaterial |
Inheritance | ColorMultiPassMaterial ![]() ![]() ![]() ![]() |
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 | |
![]() | 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 | |
color : uint
The diffuse color of the surface. | ColorMultiPassMaterial | ||
![]() | 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 | |
![]() | uniqueId : uint [read-only]
The unique id assigned to the material by the MaterialLibrary. | MaterialBase |
Method | Defined By | ||
---|---|---|---|
ColorMultiPassMaterial(color:uint = 0xcccccc)
Creates a new ColorMaterial object. | ColorMultiPassMaterial | ||
![]() | 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 |
color | property |
color:uint
The diffuse color of the surface.
public function get color():uint
public function set color(value:uint):void
ColorMultiPassMaterial | () | Constructor |
public function ColorMultiPassMaterial(color:uint = 0xcccccc)
Creates a new ColorMaterial object.
Parameterscolor:uint (default = 0xcccccc ) — The material's diffuse surface color.
|