Packageflare.materials.filters
Classpublic class EnvironmentFilter
InheritanceEnvironmentFilter Inheritance FLSLFilter Inheritance flash.events.EventDispatcher

...



Public Properties
 PropertyDefined By
  alpha : Number
EnvironmentFilter
 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
 Inheritedparams : Array
A dynamic property that contains all parameters (FilterValue class) of the filter.
FLSLFilter
 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
EnvironmentFilter
 Inheritedtextures : Array
A dynamic property that contains all textures (FilterTexture class) of the filter.
FLSLFilter
Public Methods
 MethodDefined By
  
EnvironmentFilter(texture:Texture3D = null, blendMode:String, alpha:Number = 1, techniqueName:String)
EnvironmentFilter
 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
  PER_PIXEL : String = Per Pixel
[static]
EnvironmentFilter
  PER_VERTEX : String = Per Vertex
[static]
EnvironmentFilter
Property Detail
alphaproperty
alpha:Number


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


Implementation
    public function get texture():Texture3D
    public function set texture(value:Texture3D):void
Constructor Detail
EnvironmentFilter()Constructor
public function EnvironmentFilter(texture:Texture3D = null, blendMode:String, alpha:Number = 1, techniqueName:String)



Parameters
texture:Texture3D (default = null)
 
blendMode:String (default = NaN)
 
alpha:Number (default = 1)
 
techniqueName:String (default = NaN)
Constant Detail
PER_PIXELConstant
public static const PER_PIXEL:String = Per Pixel

PER_VERTEXConstant 
public static const PER_VERTEX:String = Per Vertex