Packageaway3d.materials.passes
Classpublic class DepthMapPass
InheritanceDepthMapPass Inheritance MaterialPassBase Inheritance flash.events.EventDispatcher



Public Properties
 PropertyDefined By
  alphaMask : Texture2DBase
DepthMapPass
 InheritedalphaPremultiplied : Boolean
MaterialPassBase
  alphaThreshold : Number
The minimum alpha value for which pixels should be drawn.
DepthMapPass
 InheritedanimationSet : IAnimationSet
The animation used to add vertex code to the shader code.
MaterialPassBase
 InheritedbothSides : Boolean
Defines whether or not the material should perform backface culling.
MaterialPassBase
 InheriteddepthCompareMode : String
MaterialPassBase
 Inheritedmaterial : MaterialBase
The material to which this pass belongs.
MaterialPassBase
 Inheritedmipmap : Boolean
Defines whether any used textures should use mipmapping.
MaterialPassBase
 InheritednumUsedStreams : uint
[read-only] The amount of used vertex streams in the vertex code.
MaterialPassBase
 InheritednumUsedVertexConstants : uint
[read-only] The amount of used vertex constants in the vertex code.
MaterialPassBase
 InheritedrenderToTexture : Boolean
[read-only] Specifies whether this pass renders to texture
MaterialPassBase
 Inheritedrepeat : Boolean
Defines whether textures should be tiled.
MaterialPassBase
 Inheritedsmooth : Boolean
Defines whether smoothing should be applied to any used textures.
MaterialPassBase
Protected Properties
 PropertyDefined By
 Inherited_alphaPremultiplied : Boolean
MaterialPassBase
 Inherited_animatableAttributes : Array
MaterialPassBase
 Inherited_animationSet : IAnimationSet
MaterialPassBase
 Inherited_animationTargetRegisters : Array
MaterialPassBase
 Inherited_defaultCulling : String = back
MaterialPassBase
 Inherited_depthCompareMode : String = less
MaterialPassBase
 Inherited_material : MaterialBase
MaterialPassBase
 Inherited_mipmap : Boolean = true
MaterialPassBase
 Inherited_numDirectionalLights : uint
MaterialPassBase
 Inherited_numLightProbes : uint
MaterialPassBase
 Inherited_numPointLights : uint
MaterialPassBase
 Inherited_numUsedFragmentConstants : uint
MaterialPassBase
 Inherited_numUsedStreams : uint
MaterialPassBase
 Inherited_numUsedTextures : uint
MaterialPassBase
 Inherited_numUsedVertexConstants : uint
MaterialPassBase
 Inherited_repeat : Boolean = false
MaterialPassBase
 Inherited_smooth : Boolean = true
MaterialPassBase
Public Methods
 MethodDefined By
  
DepthMapPass
 Inherited
dispose():void
Cleans up any resources used by the current object.
MaterialPassBase
Property Detail
alphaMaskproperty
alphaMask:Texture2DBase


Implementation
    public function get alphaMask():Texture2DBase
    public function set alphaMask(value:Texture2DBase):void
alphaThresholdproperty 
alphaThreshold:Number

The minimum alpha value for which pixels should be drawn. This is used for transparency that is either invisible or entirely opaque, often used with textures for foliage, etc. Recommended values are 0 to disable alpha, or 0.5 to create smooth edges. Default value is 0 (disabled).


Implementation
    public function get alphaThreshold():Number
    public function set alphaThreshold(value:Number):void
Constructor Detail
DepthMapPass()Constructor
public function DepthMapPass()



Method Detail
activate()method
override arcane function activate(stage3DProxy:Stage3DProxy, camera:Camera3D, textureRatioX:Number, textureRatioY:Number):void

Parameters

stage3DProxy:Stage3DProxy
 
camera:Camera3D
 
textureRatioX:Number
 
textureRatioY:Number

getFragmentCode()method 
override arcane function getFragmentCode():String

Returns
String
getVertexCode()method 
override arcane function getVertexCode(code:String):String

Parameters

code:String

Returns
String
render()method 
override arcane function render(renderable:IRenderable, stage3DProxy:Stage3DProxy, camera:Camera3D, lightPicker:LightPickerBase):void

Parameters

renderable:IRenderable
 
stage3DProxy:Stage3DProxy
 
camera:Camera3D
 
lightPicker:LightPickerBase