| Package | flare.materials.filters |
| Class | public class SpecularFilter |
| Inheritance | SpecularFilter FLSLFilter flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
![]() | 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 | |
| level : Number | SpecularFilter | ||
![]() | 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 | |
| power : Number | SpecularFilter | ||
![]() | 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 | |
![]() | textures : Array
A dynamic property that contains all textures (FilterTexture class) of the filter. | FLSLFilter | |
| Method | Defined By | ||
|---|---|---|---|
SpecularFilter(power:Number = 50, level:Number = 1) | SpecularFilter | ||
![]() |
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 | |
| level | property |
level:Number public function get level():Number public function set level(value:Number):void| power | property |
power:Number public function get power():Number public function set power(value:Number):void| SpecularFilter | () | Constructor |
public function SpecularFilter(power:Number = 50, level:Number = 1)power:Number (default = 50) | |
level:Number (default = 1) |