Package | away3d.materials.methods |
Class | public class FogMethod |
Inheritance | FogMethod ShadingMethodBase |
Property | Defined by | ||
---|---|---|---|
fogColor : uint | FogMethod | ||
fogDistance : Number | FogMethod | ||
passes : Vector
Any passes required that render to a texture used by this method.
| ShadingMethodBase | ||
viewDirVaryingReg : ShaderRegisterElement | ShadingMethodBase |
Method | Defined by | ||
---|---|---|---|
FogMethod
(fogDistance:Number, fogColor:uint = 0x808080) | FogMethod | ||
Copies the state from a ShadingMethodBase object into the current object.
| ShadingMethodBase | ||
dispose(deep:Boolean):void
Cleans up any resources used by the current object.
| ShadingMethodBase |
fogColor | property |
fogColor:uint
[read-write]Implementation
public function get fogColor():uint
public function set fogColor(value:uint):void
fogDistance | property |
fogDistance:Number
[read-write]Implementation
public function get fogDistance():Number
public function set fogDistance(value:Number):void
FogMethod | () | constructor |
public function FogMethod(fogDistance:Number, fogColor:uint = 0x808080)
Parameters
fogDistance:Number |
|
fogColor:uint (default = 0x808080 )
|
activate | () | method |
arcane override function activate(context:Context3D, contextIndex:uint):void
Parameters
context:Context3D |
|
contextIndex:uint |
getFragmentPostLightingCode | () | method |
arcane override function getFragmentPostLightingCode(regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String
Parameters
regCache:ShaderRegisterCache |
|
targetReg:ShaderRegisterElement |
String |