Packageflare.materials.filters
Classpublic class TextureMapFilter
InheritanceTextureMapFilter Inheritance FLSLFilter Inheritance FLSLScope Inheritance FLSL Inheritance Object



Public Properties
 PropertyDefined By
 InheritedagalVersion : int = 1
[static]
FLSL
  alpha : Number
TextureMapFilter
 InheritedblendMode : String
The blend mode used to blend between the fragment shaders.
FLSLFilter
 InheritedbyteCode : ByteArray
Sets or gets the flsl byteCode associated with the filter.
FLSLFilter
  channel : int
TextureMapFilter
 Inheritedenabled : Boolean = true
FLSLFilter
 Inheritedname : String
The name of the flsl object.
FLSL
  offsetX : Number
TextureMapFilter
  offsetY : Number
TextureMapFilter
 Inheritedparams : Object
Contains a collection of flsl public declarations.
FLSLScope
 Inheritedpasses : int
[read-only] Returns the number of passes required by the filter.
FLSLFilter
  repeatX : Number
TextureMapFilter
  repeatY : Number
TextureMapFilter
 Inheritedsemantic : String
The semantic which the object is associated.
FLSL
 Inheritedsource : String
FLSLFilter
 InheritedtechniqueName : String
The name of the thecnique to use.
FLSLFilter
  texture : Texture3D
TextureMapFilter
Public Methods
 MethodDefined By
  
TextureMapFilter(texture:Texture3D = null, channel:int = 0, blendMode:String, alpha:Number = 1)
TextureMapFilter
 Inherited
bind(byteCode:ByteArray):void
Bind the compiled flsl code to be executed by the scope.
FLSLScope
 Inherited
build():void
This forces to all materials containing this filter to be recompiled.
FLSLFilter
 Inherited
call(ns:String, params:Array = null):uint
Call to a function stored in the scope.
FLSLScope
 Inherited
FLSLFilter
 Inherited
Retirms all technique names available in the scope.
FLSLScope
 Inherited
process(scope:FLSLShader):void
This method is called when the filters are being proccessed by the associated Shader3D.
FLSLFilter
Property Detail
alphaproperty
alpha:Number


Implementation
    public function get alpha():Number
    public function set alpha(value:Number):void
channelproperty 
channel:int


Implementation
    public function get channel():int
    public function set channel(value:int):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
TextureMapFilter()Constructor
public function TextureMapFilter(texture:Texture3D = null, channel:int = 0, blendMode:String, alpha:Number = 1)



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