Packageflare.materials.filters
Classpublic class SpecularMapFilter
InheritanceSpecularMapFilter Inheritance FLSLFilter Inheritance flash.events.EventDispatcher

...



Public Properties
 PropertyDefined By
 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
  level : Number
SpecularMapFilter
 Inheritedname : String
[read-only] Gets the filter program name.
FLSLFilter
 Inheritednamespace : String
[read-only] Gets the filter program namespace.
FLSLFilter
  offsetX : Number
SpecularMapFilter
  offsetY : Number
SpecularMapFilter
 Inheritedparams : Array
A dynamic property that contains all parameters (FilterValue class) of the filter.
FLSLFilter
  power : Number
SpecularMapFilter
  repeatX : Number
SpecularMapFilter
  repeatY : Number
SpecularMapFilter
 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
SpecularMapFilter
 Inheritedtextures : Array
A dynamic property that contains all textures (FilterTexture class) of the filter.
FLSLFilter
Public Methods
 MethodDefined By
  
SpecularMapFilter(texture:Texture3D = null, power:Number = 50, level:Number = 1)
SpecularMapFilter
 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
levelproperty
level:Number


Implementation
    public function get level():Number
    public function set level(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
powerproperty 
power:Number


Implementation
    public function get power():Number
    public function set power(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
SpecularMapFilter()Constructor
public function SpecularMapFilter(texture:Texture3D = null, power:Number = 50, level:Number = 1)



Parameters
texture:Texture3D (default = null)
 
power:Number (default = 50)
 
level:Number (default = 1)