Packageaway3d.materials
Classpublic class TextureMultiPassMaterial
InheritanceTextureMultiPassMaterial Inheritance MultiPassMaterialBase Inheritance MaterialBase Inheritance NamedAssetBase Inheritance flash.events.EventDispatcher



Public Properties
 PropertyDefined By
 InheritedalphaPremultiplied : Boolean
Indicates whether visible textures (or other pixels) used by this material have already been premultiplied.
MaterialBase
 InheritedalphaThreshold : Number
The minimum alpha value for which pixels should be drawn.
MultiPassMaterialBase
 Inheritedambient : Number
The strength of the ambient reflection.
MultiPassMaterialBase
 InheritedambientColor : uint
The colour of the ambient reflection.
MultiPassMaterialBase
 InheritedambientMethod : BasicAmbientMethod
The method to perform ambient shading.
MultiPassMaterialBase
  ambientTexture : Texture2DBase
The texture object to use for the ambient colour.
TextureMultiPassMaterial
  animateUVs : Boolean
TextureMultiPassMaterial
 InheritedassetFullPath : Array
[read-only]
NamedAssetBase
 InheritedassetNamespace : String
[read-only]
NamedAssetBase
 InheritedassetType : String
[read-only]
MaterialBase
 InheritedblendMode : String
[override]
MultiPassMaterialBase
 InheritedbothSides : Boolean
Defines whether or not the material should perform backface culling.
MaterialBase
 InheriteddepthCompareMode : String
[override]
MultiPassMaterialBase
 InheriteddiffuseLightSources : uint
MultiPassMaterialBase
 InheriteddiffuseMethod : BasicDiffuseMethod
The method to perform diffuse shading.
MultiPassMaterialBase
 Inheritedextra : Object
An object to contain any extra data
MaterialBase
 Inheritedgloss : Number
The sharpness of the specular highlight.
MultiPassMaterialBase
 InheritedlightPicker : LightPickerBase
[override]
MultiPassMaterialBase
 Inheritedmipmap : Boolean
[override] Indicates whether or not any used textures should use mipmapping.
MultiPassMaterialBase
 Inheritedname : String
[override]
MaterialBase
 InheritednormalMap : Texture2DBase
The tangent space normal map to influence the direction of the surface for each texel.
MultiPassMaterialBase
 InheritednormalMethod : BasicNormalMethod
The method to generate the (tangent-space) normal.
MultiPassMaterialBase
 InheritednumMethods : int
[read-only]
MultiPassMaterialBase
 InheritedoriginalName : String
[read-only] The original name used for this asset in the resource (e.g.
NamedAssetBase
 Inheritedrepeat : Boolean
Indicates whether or not any used textures should be tiled.
MaterialBase
 InheritedrequiresBlending : Boolean
[override] [read-only] Indicates whether or not the material requires alpha blending during rendering.
MultiPassMaterialBase
 InheritedshadowMethod : ShadowMapMethodBase
The method to render shadows cast on this surface.
MultiPassMaterialBase
 Inheritedsmooth : Boolean
Indicates whether or not any used textures should use smoothing.
MaterialBase
 Inheritedspecular : Number
The overall strength of the specular reflection.
MultiPassMaterialBase
 InheritedspecularColor : uint
The colour of the specular reflection.
MultiPassMaterialBase
 InheritedspecularLightSources : uint
MultiPassMaterialBase
 InheritedspecularMap : 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
 InheritedspecularMethod : BasicSpecularMethod
The method to perform specular shading.
MultiPassMaterialBase
  texture : Texture2DBase
The texture object to use for the albedo colour.
TextureMultiPassMaterial
 InheriteduniqueId : uint
[read-only] The unique id assigned to the material by the MaterialLibrary.
MaterialBase
Protected Properties
 PropertyDefined By
 Inherited_casterLightPass : ShadowCasterPass
MultiPassMaterialBase
 Inherited_depthPass : DepthMapPass
MaterialBase
 Inherited_distancePass : DistanceMapPass
MaterialBase
 Inherited_effectsPass : SuperShaderPass
MultiPassMaterialBase
 Inherited_lightPicker : LightPickerBase
MaterialBase
 Inherited_mipmap : Boolean = true
MaterialBase
 Inherited_nonCasterLightPasses : Vector.<LightingPass>
MultiPassMaterialBase
 Inherited_numPasses : uint
MaterialBase
 Inherited_passes : Vector.<MaterialPassBase>
MaterialBase
 Inherited_repeat : Boolean
MaterialBase
 Inherited_smooth : Boolean = true
MaterialBase
Public Methods
 MethodDefined By
  
TextureMultiPassMaterial(texture:Texture2DBase = null, smooth:Boolean = true, repeat:Boolean = false, mipmap:Boolean = true)
TextureMultiPassMaterial
 Inherited
Adds a shading method to the end of the shader.
MultiPassMaterialBase
 Inherited
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
 Inherited
assetPathEquals(name:String, ns:String):Boolean
NamedAssetBase
 Inherited
dispose():void
Cleans up any resources used by the current object.
MaterialBase
 Inherited
MultiPassMaterialBase
 Inherited
hasMethod(method:EffectMethodBase):Boolean
MultiPassMaterialBase
 Inherited
MultiPassMaterialBase
 Inherited
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void
NamedAssetBase
Protected Methods
 MethodDefined By
 Inherited
Adds a pass to the material
MaterialBase
 Inherited
Clears all passes in the material.
MaterialBase
 Inherited
MultiPassMaterialBase
 Inherited
MaterialBase
  
[override]
TextureMultiPassMaterial
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Property Detail
ambientTextureproperty
ambientTexture:Texture2DBase

The texture object to use for the ambient colour.


Implementation
    public function get ambientTexture():Texture2DBase
    public function set ambientTexture(value:Texture2DBase):void
animateUVsproperty 
animateUVs:Boolean


Implementation
    public function get animateUVs():Boolean
    public function set animateUVs(value:Boolean):void
textureproperty 
texture:Texture2DBase

The texture object to use for the albedo colour.


Implementation
    public function get texture():Texture2DBase
    public function set texture(value:Texture2DBase):void
Constructor Detail
TextureMultiPassMaterial()Constructor
public function TextureMultiPassMaterial(texture:Texture2DBase = null, smooth:Boolean = true, repeat:Boolean = false, mipmap:Boolean = true)



Parameters
texture:Texture2DBase (default = null)
 
smooth:Boolean (default = true)
 
repeat:Boolean (default = false)
 
mipmap:Boolean (default = true)
Method Detail
updateScreenPasses()method
override protected function updateScreenPasses():void