Package | away3d.filters |
Class | public class VDepthOfFieldFilter3D |
Inheritance | VDepthOfFieldFilter3D Filter3DBase Object |
Property | Defined By | ||
---|---|---|---|
focusDistance : Number | VDepthOfFieldFilter3D | ||
focusTarget : ObjectContainer3D | VDepthOfFieldFilter3D | ||
maxBlur : uint | VDepthOfFieldFilter3D | ||
range : Number | VDepthOfFieldFilter3D | ||
requireDepthRender : Boolean [read-only] | Filter3DBase | ||
tasks : Vector.<Filter3DTaskBase> [read-only] | Filter3DBase | ||
textureHeight : int | Filter3DBase | ||
textureWidth : int | Filter3DBase |
Method | Defined By | ||
---|---|---|---|
VDepthOfFieldFilter3D(maxBlur:uint = 3, stepSize:int = -1)
Creates a new VDepthOfFieldFilter3D object
| VDepthOfFieldFilter3D | ||
dispose():void | Filter3DBase | ||
getMainInputTexture(stage3DProxy:Stage3DProxy):Texture | Filter3DBase | ||
setRenderTargets(mainTarget:Texture, stage3DProxy:Stage3DProxy):void | Filter3DBase | ||
[override] | VDepthOfFieldFilter3D |
focusDistance | property |
focusDistance:Number
public function get focusDistance():Number
public function set focusDistance(value:Number):void
focusTarget | property |
focusTarget:ObjectContainer3D
public function get focusTarget():ObjectContainer3D
public function set focusTarget(value:ObjectContainer3D):void
maxBlur | property |
maxBlur:uint
public function get maxBlur():uint
public function set maxBlur(value:uint):void
range | property |
range:Number
public function get range():Number
public function set range(value:Number):void
VDepthOfFieldFilter3D | () | Constructor |
public function VDepthOfFieldFilter3D(maxBlur:uint = 3, stepSize:int = -1)
Creates a new VDepthOfFieldFilter3D object
ParametersmaxBlur: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.
|
update | () | method |
override public function update(stage:Stage3DProxy, camera:Camera3D):void
Parameters
stage:Stage3DProxy | |
camera:Camera3D |