Packageflare.materials.filters
Classpublic class ColorFilter
InheritanceColorFilter Inheritance FLSLFilter Inheritance flash.events.EventDispatcher

...



Public Properties
 PropertyDefined By
  a : Number
ColorFilter
 Inheritedanimated : Boolean
Gets or sets whatever the filter is animated or not.
FLSLFilter
  b : Number
ColorFilter
 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
ColorFilter
  g : Number
ColorFilter
 Inheritedname : String
[read-only] Gets the filter program name.
FLSLFilter
 Inheritednamespace : String
[read-only] Gets the filter program namespace.
FLSLFilter
 Inheritedparams : Array
A dynamic property that contains all parameters (FilterValue class) of the filter.
FLSLFilter
  r : Number
ColorFilter
 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
  
ColorFilter(color:int = 0xffffff, alpha:Number = 1, blendMode:String)
ColorFilter
 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
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
gproperty 
g:Number


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


Implementation
    public function get r():Number
    public function set r(value:Number):void
Constructor Detail
ColorFilter()Constructor
public function ColorFilter(color:int = 0xffffff, alpha:Number = 1, blendMode:String)



Parameters
color:int (default = 0xffffff)
 
alpha:Number (default = 1)
 
blendMode:String (default = NaN)