Packageaway3d.materials.passes
Classpublic class ShadowCasterPass
InheritanceShadowCasterPass Inheritance CompiledPass Inheritance MaterialPassBase Inheritance flash.events.EventDispatcher

DefaultScreenPass is a shader pass that uses shader methods to compile a complete program.

See also

away3d.materials.methods.ShadingMethodBase


Public Properties
 PropertyDefined By
 InheritedalphaPremultiplied : Boolean
MaterialPassBase
 InheritedambientMethod : BasicAmbientMethod
CompiledPass
 InheritedanimateUVs : Boolean
CompiledPass
 InheritedanimationRegisterCache : AnimationRegisterCache
MaterialPassBase
 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
 InheriteddiffuseLightSources : uint
CompiledPass
 InheriteddiffuseMethod : BasicDiffuseMethod
CompiledPass
 Inheritedmaterial : MaterialBase
The material to which this pass belongs.
MaterialPassBase
 Inheritedmipmap : Boolean
[override] Defines whether any used textures should use mipmapping.
CompiledPass
 InheritedneedFragmentAnimation : Boolean
[read-only]
MaterialPassBase
 InheritedneedUVAnimation : Boolean
[read-only]
MaterialPassBase
 InheritednormalMap : Texture2DBase
The tangent space normal map to influence the direction of the surface for each texel.
CompiledPass
 InheritednormalMethod : BasicNormalMethod
CompiledPass
 InheritednumUsedFragmentConstants : uint
[read-only]
MaterialPassBase
 InheritednumUsedStreams : uint
[read-only] The amount of used vertex streams in the vertex code.
MaterialPassBase
 InheritednumUsedVaryings : uint
[read-only]
MaterialPassBase
 InheritednumUsedVertexConstants : uint
[read-only] The amount of used vertex constants in the vertex code.
MaterialPassBase
 InheritedpreserveAlpha : Boolean
CompiledPass
 InheritedrenderToTexture : Boolean
[read-only] Specifies whether this pass renders to texture
MaterialPassBase
 Inheritedrepeat : Boolean
Defines whether textures should be tiled.
MaterialPassBase
 InheritedshadowMethod : ShadowMapMethodBase
CompiledPass
 Inheritedsmooth : Boolean
Defines whether smoothing should be applied to any used textures.
MaterialPassBase
 InheritedspecularLightSources : uint
CompiledPass
 InheritedspecularMethod : BasicSpecularMethod
CompiledPass
Protected Properties
 PropertyDefined By
 Inherited_alphaPremultiplied : Boolean
MaterialPassBase
 Inherited_ambientLightB : Number
CompiledPass
 Inherited_ambientLightG : Number
CompiledPass
 Inherited_ambientLightR : Number
CompiledPass
 Inherited_animatableAttributes : Vector.<String>
MaterialPassBase
 Inherited_animateUVs : Boolean
CompiledPass
 Inherited_animationSet : IAnimationSet
MaterialPassBase
 Inherited_animationTargetRegisters : Vector.<String>
MaterialPassBase
 Inherited_cameraPositionIndex : int
CompiledPass
 Inherited_commonsDataIndex : int
CompiledPass
 Inherited_compiler : ShaderCompiler
CompiledPass
 Inherited_defaultCulling : String = back
MaterialPassBase
 Inherited_depthCompareMode : String = lessEqual
MaterialPassBase
 Inherited_diffuseLightSources : uint = 0x03
CompiledPass
 Inherited_fragmentAnimationCode : String
CompiledPass
 Inherited_fragmentConstantData : Vector.<Number>
CompiledPass
 Inherited_fragmentLightCode : String
CompiledPass
 Inherited_framentPostLightCode : String
CompiledPass
 Inherited_lightFragmentConstantIndex : int
CompiledPass
 Inherited_lightPicker : LightPickerBase
MaterialPassBase
 Inherited_lightProbeDiffuseIndices : Vector.<uint>
CompiledPass
 Inherited_lightProbeSpecularIndices : Vector.<uint>
CompiledPass
 Inherited_material : MaterialBase
MaterialPassBase
 Inherited_methodSetup : ShaderMethodSetup
CompiledPass
 Inherited_mipmap : Boolean = true
MaterialPassBase
 Inherited_needFragmentAnimation : Boolean
MaterialPassBase
 Inherited_needUVAnimation : Boolean
MaterialPassBase
 Inherited_normalBufferIndex : int
CompiledPass
 Inherited_numDirectionalLights : uint
CompiledPass
 Inherited_numLightProbes : uint
CompiledPass
 Inherited_numPointLights : uint
CompiledPass
 Inherited_numUsedFragmentConstants : uint
MaterialPassBase
 Inherited_numUsedStreams : uint
MaterialPassBase
 Inherited_numUsedTextures : uint
MaterialPassBase
 Inherited_numUsedVaryings : uint
MaterialPassBase
 Inherited_numUsedVertexConstants : uint
MaterialPassBase
 Inherited_preserveAlpha : Boolean = true
CompiledPass
 Inherited_probeWeightsIndex : int
CompiledPass
 Inherited_repeat : Boolean = false
MaterialPassBase
 Inherited_sceneMatrixIndex : int
CompiledPass
 Inherited_sceneNormalMatrixIndex : int
CompiledPass
 Inherited_secondaryUVBufferIndex : int
CompiledPass
 Inherited_shadedTarget : String = ft0
MaterialPassBase
 Inherited_smooth : Boolean = true
MaterialPassBase
 Inherited_specularLightSources : uint = 0x01
CompiledPass
 Inherited_tangentBufferIndex : int
CompiledPass
 Inherited_usesNormals : Boolean
CompiledPass
 Inherited_usingSpecularMethod : Boolean
CompiledPass
 Inherited_uvBufferIndex : int
CompiledPass
 Inherited_UVSource : String
MaterialPassBase
 Inherited_UVTarget : String
MaterialPassBase
 Inherited_uvTransformIndex : int
CompiledPass
 Inherited_vertexCode : String
CompiledPass
 Inherited_vertexConstantData : Vector.<Number>
CompiledPass
 Inherited_vertexConstantsOffset : uint
CompiledPass
Public Methods
 MethodDefined By
  
Creates a new DefaultScreenPass objects.
ShadowCasterPass
 Inherited
dispose():void
[override] Cleans up any resources used by the current object.
CompiledPass
 Inherited
setBlendMode(value:String, force:Boolean = false):void
MaterialPassBase
Protected Methods
 MethodDefined By
 Inherited
addPasses(passes:Vector.<MaterialPassBase>):void
Adds passes to the list.
CompiledPass
 Inherited
CompiledPass
 Inherited
cleanUp():void
CompiledPass
  
[override]
ShadowCasterPass
 Inherited
CompiledPass
 Inherited
CompiledPass
 Inherited
CompiledPass
  
[override] Updates the lights data for the render state.
ShadowCasterPass
  
[override]
ShadowCasterPass
 Inherited
CompiledPass
  
updateProbes(stage3DProxy:Stage3DProxy):void
[override]
ShadowCasterPass
  
[override]
ShadowCasterPass
  
[override]
ShadowCasterPass
  
usesLights():Boolean
[override]
ShadowCasterPass
  
usesProbes():Boolean
[override]
ShadowCasterPass
Constructor Detail
ShadowCasterPass()Constructor
public function ShadowCasterPass(material:MaterialBase)

Creates a new DefaultScreenPass objects.

Parameters
material:MaterialBase
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

createCompiler()method 
override protected function createCompiler():ShaderCompiler

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

Parameters

renderable:IRenderable
 
stage3DProxy:Stage3DProxy
 
camera:Camera3D

updateLightConstants()method 
override protected function updateLightConstants():void

Updates the lights data for the render state.

updateLights()method 
override protected function updateLights():void

updateProbes()method 
override protected function updateProbes(stage3DProxy:Stage3DProxy):void

Parameters

stage3DProxy:Stage3DProxy

updateRegisterIndices()method 
override protected function updateRegisterIndices():void

updateShaderProperties()method 
override protected function updateShaderProperties():void

usesLights()method 
override protected function usesLights():Boolean

Returns
Boolean
usesProbes()method 
override protected function usesProbes():Boolean

Returns
Boolean