| Package | flare.materials.filters |
| Class | public class ColorFilter |
| Inheritance | ColorFilter FLSLFilter flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
| a : Number | ColorFilter | ||
![]() | animated : Boolean
Gets or sets whatever the filter is animated or not. | FLSLFilter | |
| b : Number | ColorFilter | ||
![]() | blendMode : String
Gets or sets the mode how to blend between this and the last filter. | FLSLFilter | |
![]() | byteCode : ByteArray
Returns the byte code used for this filter. | FLSLFilter | |
| color : uint | ColorFilter | ||
| g : Number | ColorFilter | ||
![]() | name : String [read-only]
Gets the filter program name. | FLSLFilter | |
![]() | namespace : String [read-only]
Gets the filter program namespace. | FLSLFilter | |
![]() | params : Array
A dynamic property that contains all parameters (FilterValue class) of the filter. | FLSLFilter | |
| r : Number | ColorFilter | ||
![]() | techniqueName : String
Sets or gets the technique to use for this filter. | FLSLFilter | |
![]() | techniques : Vector.<String> [read-only]
Gets all thecniques availables on the filter. | FLSLFilter | |
![]() | textures : Array
A dynamic property that contains all textures (FilterTexture class) of the filter. | FLSLFilter | |
| Method | Defined By | ||
|---|---|---|---|
ColorFilter(color:int = 0xffffff, alpha:Number = 1, blendMode:String) | ColorFilter | ||
![]() |
Creates and returns a copy of the filter. | FLSLFilter | |
![]() | createTechnique(name:String, vertexFunctions:Array = null, fragmentFunctions:Array = null):void
Creates a new dynamic technique. | FLSLFilter | |
![]() | deleteTechnique(name:String):void
Deletes a previously defined technique. | FLSLFilter | |
![]() | dispose():void | FLSLFilter | |
![]() | dispose():void [static] | FLSLFilter | |
![]() | update():void
Update all filter parameters and send the changed values to all subscribed materials. | FLSLFilter | |
| a | property |
a:Number public function get a():Number public function set a(value:Number):void| b | property |
b:Number public function get b():Number public function set b(value:Number):void| color | property |
color:uint public function get color():uint public function set color(value:uint):void| g | property |
g:Number public function get g():Number public function set g(value:Number):void| r | property |
r:Number public function get r():Number public function set r(value:Number):void| ColorFilter | () | Constructor |
public function ColorFilter(color:int = 0xffffff, alpha:Number = 1, blendMode:String)color:int (default = 0xffffff) | |
alpha:Number (default = 1) | |
blendMode:String (default = NaN) |