Packageaway3d.filters
Classpublic class VDepthOfFieldFilter3D
InheritanceVDepthOfFieldFilter3D Inheritance Filter3DBase Inheritance Object



Public Properties
 PropertyDefined By
  focusDistance : Number
VDepthOfFieldFilter3D
  focusTarget : ObjectContainer3D
VDepthOfFieldFilter3D
  maxBlur : uint
VDepthOfFieldFilter3D
  range : Number
VDepthOfFieldFilter3D
 InheritedrequireDepthRender : Boolean
[read-only]
Filter3DBase
 Inheritedtasks : Vector.<Filter3DTaskBase>
[read-only]
Filter3DBase
 InheritedtextureHeight : int
Filter3DBase
 InheritedtextureWidth : int
Filter3DBase
Public Methods
 MethodDefined By
  
VDepthOfFieldFilter3D(maxBlur:uint = 3, stepSize:int = -1)
Creates a new VDepthOfFieldFilter3D object
VDepthOfFieldFilter3D
 Inherited
dispose():void
Filter3DBase
 Inherited
getMainInputTexture(stage3DProxy:Stage3DProxy):Texture
Filter3DBase
 Inherited
setRenderTargets(mainTarget:Texture, stage3DProxy:Stage3DProxy):void
Filter3DBase
  
update(stage:Stage3DProxy, camera:Camera3D):void
[override]
VDepthOfFieldFilter3D
Protected Methods
 MethodDefined By
 Inherited
Filter3DBase
Property Detail
focusDistanceproperty
focusDistance:Number


Implementation
    public function get focusDistance():Number
    public function set focusDistance(value:Number):void
focusTargetproperty 
focusTarget:ObjectContainer3D


Implementation
    public function get focusTarget():ObjectContainer3D
    public function set focusTarget(value:ObjectContainer3D):void
maxBlurproperty 
maxBlur:uint


Implementation
    public function get maxBlur():uint
    public function set maxBlur(value:uint):void
rangeproperty 
range:Number


Implementation
    public function get range():Number
    public function set range(value:Number):void
Constructor Detail
VDepthOfFieldFilter3D()Constructor
public function VDepthOfFieldFilter3D(maxBlur:uint = 3, stepSize:int = -1)

Creates a new VDepthOfFieldFilter3D object

Parameters
maxBlur:uint (default = 3) — The amount of blur to apply in pixels
 
stepSize:int (default = -1) — The distance between samples. Set to -1 to autodetect with acceptable quality.
Method Detail
update()method
override public function update(stage:Stage3DProxy, camera:Camera3D):void

Parameters

stage:Stage3DProxy
 
camera:Camera3D