| Package | flare.materials.filters |
| Class | public class PlanarFilter |
| Inheritance | PlanarFilter FLSLFilter flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
| alpha : Number | PlanarFilter | ||
![]() | 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 | |
| size : Number | PlanarFilter | ||
![]() | 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 | PlanarFilter | ||
![]() | textures : Array
A dynamic property that contains all textures (FilterTexture class) of the filter. | FLSLFilter | |
| Method | Defined By | ||
|---|---|---|---|
PlanarFilter(texture:Texture3D = null, size:Number = 1000, blendMode:String, alpha:Number = 1) | PlanarFilter | ||
![]() |
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 | |
| alpha | property |
alpha:Number public function get alpha():Number public function set alpha(value:Number):void| size | property |
size:Number public function get size():Number public function set size(value:Number):void| texture | property |
texture:Texture3D public function get texture():Texture3D public function set texture(value:Texture3D):void| PlanarFilter | () | Constructor |
public function PlanarFilter(texture:Texture3D = null, size:Number = 1000, blendMode:String, alpha:Number = 1)texture:Texture3D (default = null) | |
size:Number (default = 1000) | |
blendMode:String (default = NaN) | |
alpha:Number (default = 1) |