Package | away3d.materials.methods |
Class | public class FogMethod |
Inheritance | FogMethod EffectMethodBase ShadingMethodBase flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
fogColor : uint | FogMethod | ||
maxDistance : Number | FogMethod | ||
minDistance : Number | FogMethod | ||
passes : Vector.<MaterialPassBase> [read-only]
Any passes required that render to a texture used by this method. | ShadingMethodBase |
Method | Defined By | ||
---|---|---|---|
FogMethod(minDistance:Number, maxDistance:Number, fogColor:uint = 0x808080) | FogMethod | ||
copyFrom(method:ShadingMethodBase):void
Copies the state from a ShadingMethodBase object into the current object. | ShadingMethodBase | ||
dispose():void
Cleans up any resources used by the current object. | ShadingMethodBase |
fogColor | property |
fogColor:uint
public function get fogColor():uint
public function set fogColor(value:uint):void
maxDistance | property |
maxDistance:Number
public function get maxDistance():Number
public function set maxDistance(value:Number):void
minDistance | property |
minDistance:Number
public function get minDistance():Number
public function set minDistance(value:Number):void
FogMethod | () | Constructor |
public function FogMethod(minDistance:Number, maxDistance:Number, fogColor:uint = 0x808080)
minDistance:Number | |
maxDistance:Number | |
fogColor:uint (default = 0x808080 )
|
activate | () | method |
override arcane function activate(vo:MethodVO, stage3DProxy:Stage3DProxy):void
Parameters
vo:MethodVO | |
stage3DProxy:Stage3DProxy |
getFragmentCode | () | method |
override arcane function getFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String
Parameters
vo:MethodVO | |
regCache:ShaderRegisterCache | |
targetReg:ShaderRegisterElement |
String |
initConstants | () | method |
initVO | () | method |