| Package | away3d.materials.methods |
| Class | public class NearShadowMapMethod |
| Inheritance | NearShadowMapMethod SimpleShadowMapMethodBase ShadowMapMethodBase ShadingMethodBase NamedAssetBase flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
| alpha : Number [override] | NearShadowMapMethod | ||
![]() | assetFullPath : Array [read-only] | NamedAssetBase | |
![]() | assetNamespace : String [read-only] | NamedAssetBase | |
![]() | assetType : String [read-only] | ShadowMapMethodBase | |
| baseMethod : SimpleShadowMapMethodBase
The base shadow map method on which this method's shading is based. | NearShadowMapMethod | ||
![]() | castingLight : LightBase [read-only] | ShadowMapMethodBase | |
| epsilon : Number [override] | NearShadowMapMethod | ||
| fadeRatio : Number | NearShadowMapMethod | ||
![]() | name : String | NamedAssetBase | |
![]() | originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | |
![]() | passes : Vector.<MaterialPassBase> [read-only]
Any passes required that render to a texture used by this method. | ShadingMethodBase | |
| Method | Defined By | ||
|---|---|---|---|
NearShadowMapMethod(baseMethod:SimpleShadowMapMethodBase, fadeRatio:Number = .1) | NearShadowMapMethod | ||
![]() | assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | |
![]() | copyFrom(method:ShadingMethodBase):void
Copies the state from a ShadingMethodBase object into the current object. | ShadingMethodBase | |
dispose():void [override] | NearShadowMapMethod | ||
![]() | resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase | |
| alpha | property |
alpha:Number[override] public function get alpha():Number public function set alpha(value:Number):void| baseMethod | property |
baseMethod:SimpleShadowMapMethodBaseThe base shadow map method on which this method's shading is based.
public function get baseMethod():SimpleShadowMapMethodBase public function set baseMethod(value:SimpleShadowMapMethodBase):void| epsilon | property |
epsilon:Number[override] public function get epsilon():Number public function set epsilon(value:Number):void| fadeRatio | property |
fadeRatio:Number public function get fadeRatio():Number public function set fadeRatio(value:Number):void| sharedRegisters | property |
sharedRegisters:ShaderRegisterData[override]
arcane function get sharedRegisters():ShaderRegisterData arcane function set sharedRegisters(value:ShaderRegisterData):void| NearShadowMapMethod | () | Constructor |
public function NearShadowMapMethod(baseMethod:SimpleShadowMapMethodBase, fadeRatio:Number = .1)baseMethod:SimpleShadowMapMethodBase | |
fadeRatio:Number (default = .1) |
| activate | () | method |
override arcane function activate(vo:MethodVO, stage3DProxy:Stage3DProxy):void
Parameters
vo:MethodVO | |
stage3DProxy:Stage3DProxy |
| cleanCompilationData | () | method |
override arcane function cleanCompilationData():void| deactivate | () | method |
override arcane function deactivate(vo:MethodVO, stage3DProxy:Stage3DProxy):voidParameters
vo:MethodVO | |
stage3DProxy:Stage3DProxy |
| dispose | () | method |
override public function dispose():void| getFragmentCode | () | method |
override arcane function getFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):StringParameters
vo:MethodVO | |
regCache:ShaderRegisterCache | |
targetReg:ShaderRegisterElement |
String |
| getVertexCode | () | method |
override arcane function getVertexCode(vo:MethodVO, regCache:ShaderRegisterCache):String
Parameters
vo:MethodVO | |
regCache:ShaderRegisterCache |
String |
| initConstants | () | method |
| initVO | () | method |
| reset | () | method |
override arcane function reset():void
| setRenderState | () | method |
override arcane function setRenderState(vo:MethodVO, renderable:IRenderable, stage3DProxy:Stage3DProxy, camera:Camera3D):voidParameters
vo:MethodVO | |
renderable:IRenderable | |
stage3DProxy:Stage3DProxy | |
camera:Camera3D |