Packageflare.materials.filters
Classpublic class FogFilter
InheritanceFogFilter Inheritance FLSLFilter Inheritance flash.events.EventDispatcher

...



Public Properties
 PropertyDefined By
  a : Number
FogFilter
 Inheritedanimated : Boolean
Gets or sets whatever the filter is animated or not.
FLSLFilter
  b : Number
FogFilter
 InheritedblendMode : String
Gets or sets the mode how to blend between this and the last filter.
FLSLFilter
 InheritedbyteCode : ByteArray
Returns the byte code used for this filter.
FLSLFilter
  color : uint
FogFilter
  far : Number
FogFilter
  g : Number
FogFilter
 Inheritedname : String
[read-only] Gets the filter program name.
FLSLFilter
 Inheritednamespace : String
[read-only] Gets the filter program namespace.
FLSLFilter
  near : Number
FogFilter
 Inheritedparams : Array
A dynamic property that contains all parameters (FilterValue class) of the filter.
FLSLFilter
  r : Number
FogFilter
 InheritedtechniqueName : String
Sets or gets the technique to use for this filter.
FLSLFilter
 Inheritedtechniques : Vector.<String>
[read-only] Gets all thecniques availables on the filter.
FLSLFilter
 Inheritedtextures : Array
A dynamic property that contains all textures (FilterTexture class) of the filter.
FLSLFilter
Public Methods
 MethodDefined By
  
FogFilter(color:int = 0x000000, near:Number = 0, far:Number = 1000, blendMode:String, techniqueName:String)
FogFilter
 Inherited
Creates and returns a copy of the filter.
FLSLFilter
 Inherited
createTechnique(name:String, vertexFunctions:Array = null, fragmentFunctions:Array = null):void
Creates a new dynamic technique.
FLSLFilter
 Inherited
deleteTechnique(name:String):void
Deletes a previously defined technique.
FLSLFilter
 Inherited
dispose():void
FLSLFilter
 Inherited
dispose():void
[static]
FLSLFilter
 Inherited
update():void
Update all filter parameters and send the changed values to all subscribed materials.
FLSLFilter
Events
 Event Summary Defined By
 InheritedThis event occurs whenever the technique or blendMode has changed.FLSLFilter
Public Constants
 ConstantDefined By
 InheritedCHANGE_TECHNIQUE : String = changeTechnique
[static]
FLSLFilter
  PER_PIXEL : String = Per Pixel
[static]
FogFilter
  PER_VERTEX : String = Per Vertex
[static]
FogFilter
Property Detail
aproperty
a:Number


Implementation
    public function get a():Number
    public function set a(value:Number):void
bproperty 
b:Number


Implementation
    public function get b():Number
    public function set b(value:Number):void
colorproperty 
color:uint


Implementation
    public function get color():uint
    public function set color(value:uint):void
farproperty 
far:Number


Implementation
    public function get far():Number
    public function set far(value:Number):void
gproperty 
g:Number


Implementation
    public function get g():Number
    public function set g(value:Number):void
nearproperty 
near:Number


Implementation
    public function get near():Number
    public function set near(value:Number):void
rproperty 
r:Number


Implementation
    public function get r():Number
    public function set r(value:Number):void
Constructor Detail
FogFilter()Constructor
public function FogFilter(color:int = 0x000000, near:Number = 0, far:Number = 1000, blendMode:String, techniqueName:String)



Parameters
color:int (default = 0x000000)
 
near:Number (default = 0)
 
far:Number (default = 1000)
 
blendMode:String (default = NaN)
 
techniqueName:String (default = NaN)
Constant Detail
PER_PIXELConstant
public static const PER_PIXEL:String = Per Pixel

PER_VERTEXConstant 
public static const PER_VERTEX:String = Per Vertex