Packagegraphics.filters
Classpublic class WaveReflectionFilter
InheritanceWaveReflectionFilter Inheritance ShaderCustomFilter Inheritance flash.filters.ShaderFilter

The ReflectionFilter class applies a wave reflection over a display or a bitmap. The Shader must be defines with the WaveReflection pixelbender implementation.



Public Properties
 PropertyDefined By
  amplitude : Number
The amplitude of the wave reflection (between 0 and 1).
WaveReflectionFilter
 Inheriteddescription : String
[read-only] The description of the filter (defines in the Shader).
ShaderCustomFilter
  frequency : Number
The frequency of the wave reflection (between 0 and 1).
WaveReflectionFilter
 Inheritedname : String
[read-only] The name of the filter (defines in the Shader).
ShaderCustomFilter
 Inheritednamespace : String
[read-only] The namespace of the filter (defines in the Shader).
ShaderCustomFilter
  progress : Number
The progress component of the wave reflection (between 0 and 1).
WaveReflectionFilter
 Inheritedversion : String
[read-only] The version of the filter (defines in the Shader).
ShaderCustomFilter
Public Methods
 MethodDefined By
  
WaveReflectionFilter(shader:Shader = null, init:Object = null)
Creates a new WaveReflectionFilter instance.
WaveReflectionFilter
  
clone():BitmapFilter
[override] Returns a shallow copy of the object.
WaveReflectionFilter
Property Detail
amplitudeproperty
amplitude:Number

The amplitude of the wave reflection (between 0 and 1).


Implementation
    public function get amplitude():Number
    public function set amplitude(value:Number):void
frequencyproperty 
frequency:Number

The frequency of the wave reflection (between 0 and 1).


Implementation
    public function get frequency():Number
    public function set frequency(value:Number):void
progressproperty 
progress:Number

The progress component of the wave reflection (between 0 and 1). Specify the value to create the wave effect and animate it.


Implementation
    public function get progress():Number
    public function set progress(value:Number):void
Constructor Detail
WaveReflectionFilter()Constructor
public function WaveReflectionFilter(shader:Shader = null, init:Object = null)

Creates a new WaveReflectionFilter instance.

Parameters
shader:Shader (default = null) — The Shader reference.
 
init:Object (default = null) — The optional dynamic object to initialize the filter.
Method Detail
clone()method
override public function clone():BitmapFilter

Returns a shallow copy of the object.

Returns
BitmapFilter — a shallow copy of the object.