Package | flare.materials.filters |
Class | public class FogFilter |
Inheritance | FogFilter ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
a : Number | FogFilter | ||
![]() | animated : Boolean
Gets or sets whatever the filter is animated or not. | FLSLFilter | |
b : Number | FogFilter | ||
![]() | 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 | FogFilter | ||
far : Number | FogFilter | ||
g : Number | FogFilter | ||
![]() | name : String [read-only]
Gets the filter program name. | FLSLFilter | |
![]() | namespace : String [read-only]
Gets the filter program namespace. | FLSLFilter | |
near : Number | FogFilter | ||
![]() | params : Array
A dynamic property that contains all parameters (FilterValue class) of the filter. | FLSLFilter | |
r : Number | FogFilter | ||
![]() | 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 | ||
---|---|---|---|
FogFilter(color:int = 0x000000, near:Number = 0, far:Number = 1000, blendMode:String, techniqueName:String) | FogFilter | ||
![]() |
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 |
Constant | Defined By | ||
---|---|---|---|
![]() | CHANGE_TECHNIQUE : String = changeTechnique [static] | FLSLFilter | |
PER_PIXEL : String = Per Pixel [static] | FogFilter | ||
PER_VERTEX : String = Per Vertex [static] | FogFilter |
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
far | property |
far:Number
public function get far():Number
public function set far(value:Number):void
g | property |
g:Number
public function get g():Number
public function set g(value:Number):void
near | property |
near:Number
public function get near():Number
public function set near(value:Number):void
r | property |
r:Number
public function get r():Number
public function set r(value:Number):void
FogFilter | () | Constructor |
public function FogFilter(color:int = 0x000000, near:Number = 0, far:Number = 1000, blendMode:String, techniqueName:String)
color:int (default = 0x000000 )
| |
near:Number (default = 0 )
| |
far:Number (default = 1000 )
| |
blendMode:String (default = NaN )
| |
techniqueName:String (default = NaN )
|
PER_PIXEL | Constant |
public static const PER_PIXEL:String = Per Pixel
PER_VERTEX | Constant |
public static const PER_VERTEX:String = Per Vertex