Packageflare.materials.filters
Classpublic class TextureFilter
InheritanceTextureFilter Inheritance FLSLFilter Inheritance flash.events.EventDispatcher
Subclasses AnimatedTextureFilter

...



Public Properties
 PropertyDefined By
  alpha : Number
TextureFilter
 Inheritedanimated : Boolean
Gets or sets whatever the filter is animated or not.
FLSLFilter
 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
 Inheritedname : String
[read-only] Gets the filter program name.
FLSLFilter
 Inheritednamespace : String
[read-only] Gets the filter program namespace.
FLSLFilter
  offsetX : Number
TextureFilter
  offsetY : Number
TextureFilter
 Inheritedparams : Array
A dynamic property that contains all parameters (FilterValue class) of the filter.
FLSLFilter
  repeatX : Number
TextureFilter
  repeatY : Number
TextureFilter
 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
  texture : Texture3D
TextureFilter
 Inheritedtextures : Array
A dynamic property that contains all textures (FilterTexture class) of the filter.
FLSLFilter
Public Methods
 MethodDefined By
  
TextureFilter(texture:Texture3D = null, uvChannel:int = 0, blendMode:String, alpha:Number = 1)
TextureFilter
 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
alphaproperty
alpha:Number


Implementation
    public function get alpha():Number
    public function set alpha(value:Number):void
offsetXproperty 
offsetX:Number


Implementation
    public function get offsetX():Number
    public function set offsetX(value:Number):void
offsetYproperty 
offsetY:Number


Implementation
    public function get offsetY():Number
    public function set offsetY(value:Number):void
repeatXproperty 
repeatX:Number


Implementation
    public function get repeatX():Number
    public function set repeatX(value:Number):void
repeatYproperty 
repeatY:Number


Implementation
    public function get repeatY():Number
    public function set repeatY(value:Number):void
textureproperty 
texture:Texture3D


Implementation
    public function get texture():Texture3D
    public function set texture(value:Texture3D):void
Constructor Detail
TextureFilter()Constructor
public function TextureFilter(texture:Texture3D = null, uvChannel:int = 0, blendMode:String, alpha:Number = 1)



Parameters
texture:Texture3D (default = null)
 
uvChannel:int (default = 0)
 
blendMode:String (default = NaN)
 
alpha:Number (default = 1)