Package | flare.materials.filters |
Class | public class EnvironmentFilter |
Inheritance | EnvironmentFilter ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
alpha : Number | EnvironmentFilter | ||
![]() | animated : Boolean
Gets or sets whatever the filter is animated or not. | FLSLFilter | |
![]() | 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 | |
![]() | 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 | |
![]() | 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 | |
texture : Texture3D | EnvironmentFilter | ||
![]() | textures : Array
A dynamic property that contains all textures (FilterTexture class) of the filter. | FLSLFilter |
Method | Defined By | ||
---|---|---|---|
EnvironmentFilter(texture:Texture3D = null, blendMode:String, alpha:Number = 1, techniqueName:String) | EnvironmentFilter | ||
![]() |
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] | EnvironmentFilter | ||
PER_VERTEX : String = Per Vertex [static] | EnvironmentFilter |
alpha | property |
alpha:Number
public function get alpha():Number
public function set alpha(value:Number):void
texture | property |
texture:Texture3D
public function get texture():Texture3D
public function set texture(value:Texture3D):void
EnvironmentFilter | () | Constructor |
public function EnvironmentFilter(texture:Texture3D = null, blendMode:String, alpha:Number = 1, techniqueName:String)
texture:Texture3D (default = null )
| |
blendMode:String (default = NaN )
| |
alpha:Number (default = 1 )
| |
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