Packagecom.yogurt3d.core.effects.filters
Classpublic class FilterSwirl
InheritanceFilterSwirl Inheritance Filter Inheritance Shader Inheritance Object



Public Properties
 PropertyDefined By
  angle : Number
FilterSwirl
 Inheritedattributes : Vector.<EVertexAttribute>
[read-only]
Shader
  centerX : Number
FilterSwirl
  centerY : Number
FilterSwirl
  effect : Number
FilterSwirl
 Inheritedkey : String
Key string of a shader.
Shader
 Inheritedparams : ShaderParameters
Returns the shader parameters.
Shader
  radius : Number
FilterSwirl
Protected Properties
 PropertyDefined By
 Inheritedm_height : Number
[static]
Filter
 Inheritedm_width : Number
[static]
Filter
Public Methods
 MethodDefined By
  
FilterSwirl(_radius:Number = 200.0, _angle:Number = 0.8, _centerX:Number = 400, _centerY:Number = 300, _effect:Number = 8.0)
FilterSwirl
 Inherited
clearTextures(_context3D:Context3D):void
Filter
 Inherited
dispose():void
Filter
 Inherited
Shader
  
getFragmentProgram(_lightType:ELightType = null):ByteArray
[override]
FilterSwirl
 Inherited
getProgram(_context3D:Context3D, _lightType:ELightType = null, _meshKey:String):Program3D
Returns the Program3D object for this shader.
Shader
 Inherited
Filter
 Inherited
getVertexProgram(_meshKey:String, _lightType:ELightType = null):ByteArray
[override]
Filter
 Inherited
postProcess(_context3d:Context3D, _viewport:Rectangle, _sampler:RenderTextureTarget):void
Filter
  
setShaderConstants(_context3D:Context3D, view:Rectangle):void
[override]
FilterSwirl
Property Detail
angleproperty
angle:Number


Implementation
    public function get angle():Number
    public function set angle(value:Number):void
centerXproperty 
centerX:Number


Implementation
    public function get centerX():Number
    public function set centerX(value:Number):void
centerYproperty 
centerY:Number


Implementation
    public function get centerY():Number
    public function set centerY(value:Number):void
effectproperty 
effect:Number


Implementation
    public function get effect():Number
    public function set effect(value:Number):void
radiusproperty 
radius:Number


Implementation
    public function get radius():Number
    public function set radius(value:Number):void
Constructor Detail
FilterSwirl()Constructor
public function FilterSwirl(_radius:Number = 200.0, _angle:Number = 0.8, _centerX:Number = 400, _centerY:Number = 300, _effect:Number = 8.0)



Parameters
_radius:Number (default = 200.0)
 
_angle:Number (default = 0.8)
 
_centerX:Number (default = 400)
 
_centerY:Number (default = 300)
 
_effect:Number (default = 8.0)
Method Detail
getFragmentProgram()method
override public function getFragmentProgram(_lightType:ELightType = null):ByteArray

Parameters

_lightType:ELightType (default = null)

Returns
ByteArray
setShaderConstants()method 
override public function setShaderConstants(_context3D:Context3D, view:Rectangle):void

Parameters

_context3D:Context3D
 
view:Rectangle