Packagegraphics.filters.projections
Classpublic class StereographicFilter
InheritanceStereographicFilter Inheritance ShaderCustomFilter Inheritance flash.filters.ShaderFilter

Apply a stereographic projection. The Shader must be defines with the Stereographic pixelbender implementation.



Public Properties
 PropertyDefined By
 Inheriteddescription : String
[read-only] The description of the filter (defines in the Shader).
ShaderCustomFilter
  fieldOfView : Number
Specifies an angle, as a degree between 1 and 360, for the field of view of the projection.
StereographicFilter
  focalLength : Number
The distance between the camera and the view located in the z-axis.
StereographicFilter
  height : Number
The height of the picture to transform.
StereographicFilter
 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
 Inheritedversion : String
[read-only] The version of the filter (defines in the Shader).
ShaderCustomFilter
  width : Number
The width of the picture to transform.
StereographicFilter
Public Methods
 MethodDefined By
  
StereographicFilter(shader:Shader = null, init:Object = null)
Creates a new StereographicFilter instance.
StereographicFilter
  
clone():BitmapFilter
[override] Returns a shallow copy of the object.
StereographicFilter
Property Detail
fieldOfViewproperty
fieldOfView:Number

Specifies an angle, as a degree between 1 and 360, for the field of view of the projection.


Implementation
    public function get fieldOfView():Number
    public function set fieldOfView(value:Number):void
focalLengthproperty 
focalLength:Number

The distance between the camera and the view located in the z-axis.


Implementation
    public function get focalLength():Number
    public function set focalLength(value:Number):void
heightproperty 
height:Number

The height of the picture to transform.


Implementation
    public function get height():Number
    public function set height(value:Number):void
widthproperty 
width:Number

The width of the picture to transform.


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

Creates a new StereographicFilter instance.

Parameters
shader:Shader (default = null) — The Shader reference with the Stereographic pixel bender filter inside.
 
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.