TiltShiftBlurPass
Extends:
Indirect Implements:
A tilt shift blur pass.
Constructor Summary
Public Constructor | ||
public |
constructor(options: Object) Constructs a new Kawase blur pass. |
Member Summary
Public Members | ||
public |
blurMaterial: * |
Inherited Summary
From class Pass | ||
public static get |
fullscreenGeometry: BufferGeometry A shared fullscreen triangle. |
|
public get |
fullscreenMaterial: Material The fullscreen material. |
|
public set |
|
|
public set |
mainCamera: Camera Sets the main camera. |
|
public set |
mainScene: Scene Sets the main scene. |
|
public get |
Sets the render to screen flag. |
|
public set |
|
|
public |
Indicates whether this pass is enabled. |
|
public |
The name of this pass. |
|
public |
Only relevant for subclassing. |
|
public |
Only relevant for subclassing. |
|
protected |
camera: Camera The camera. |
|
protected |
renderer: WebGLRenderer this member was deprecated.
The renderer. |
|
protected |
scene: Scene The scene to render. |
|
public |
dispose() Performs a shallow search for disposable properties and deletes them. |
|
public |
getDepthTexture(): Texture Returns the current depth texture. |
|
public |
getFullscreenMaterial(): Material this method was deprecated. Use fullscreenMaterial instead.
Returns the current fullscreen material. |
|
public |
initialize(renderer: WebGLRenderer, alpha: Boolean, frameBufferType: Number) Performs initialization tasks. |
|
public |
this method was deprecated. Use enabled instead.
Indicates whether this pass is enabled. |
|
public abstract |
render(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, outputBuffer: WebGLRenderTarget, deltaTime: Number, stencilTest: Boolean) Renders this pass. |
|
public |
setDepthTexture(depthTexture: Texture, depthPacking: DepthPackingStrategy) Sets the depth texture. |
|
public |
setEnabled(value: Boolean) this method was deprecated. Use enabled instead.
Enables or disables this pass. |
|
public |
setRenderer(renderer: WebGLRenderer) this method was deprecated.
Sets the renderer |
|
public |
Sets the size. |
|
protected |
setFullscreenMaterial(value: Material) this method was deprecated. Use fullscreenMaterial instead.
Sets the fullscreen material. |
From class KawaseBlurPass | ||
public static get |
this get was deprecated. Use {@link Resolution.AUTO_SIZE} instead.
An auto sizing flag. |
|
public get |
The blur material. |
|
public get |
this get was deprecated. Use copyMaterial.dithering instead.
Indicates whether dithering is enabled. |
|
public set |
|
|
public get |
this get was deprecated. Use resolution.height instead.
The current height of the internal render targets. |
|
public set |
this set was deprecated. Use resolution.preferredHeight instead.
Sets the render height. |
|
public get |
this get was deprecated. Use blurMaterial.kernelSize instead.
The kernel size. |
|
public set |
|
|
public get |
this get was deprecated. Use blurMaterial.scale instead.
The current blur scale. |
|
public set |
|
|
public get |
this get was deprecated. Use resolution.width instead.
The current width of the internal render targets. |
|
public set |
this set was deprecated. Use resolution.preferredWidth instead.
Sets the render width. |
|
protected set |
The blur material. |
|
public |
A copy material. |
|
public |
|
|
public |
this method was deprecated. Use blurMaterial.kernelSize instead.
Returns the kernel size. |
|
public |
this method was deprecated. Use resolution instead.
Returns the resolution settings. |
|
public |
this method was deprecated. Use resolution instead.
Returns the current resolution scale. |
|
public |
this method was deprecated. Use blurMaterial.scale instead.
Returns the current blur scale. |
|
public |
initialize(renderer: WebGLRenderer, alpha: Boolean, frameBufferType: Number) Performs initialization tasks. |
|
public |
render(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, outputBuffer: WebGLRenderTarget, deltaTime: Number, stencilTest: Boolean) Renders the blur. |
|
public |
setKernelSize(value: KernelSize) this method was deprecated. Use blurMaterial.kernelSize instead.
Sets the kernel size. |
|
public |
setResolutionScale(scale: Number) this method was deprecated. Use resolution instead.
Sets the resolution scale. |
|
public |
this method was deprecated. Use blurMaterial.scale instead.
Sets the blur scale. |
|
public |
Updates the size of this pass. |
Public Constructors
public constructor(options: Object) source
Constructs a new Kawase blur pass.
Override:
KawaseBlurPass#constructorParams:
Name | Type | Attribute | Description |
options | Object |
|
The options. |
options.offset | Number |
|
The relative offset of the focus area. |
options.rotation | Number |
|
The rotation of the focus area in radians. |
options.focusArea | Number |
|
The relative size of the focus area. |
options.feather | Number |
|
The softness of the focus area edges. |
options.kernelSize | KernelSize |
|
The blur kernel size. |
options.resolutionScale | Number |
|
The resolution scale. |
options.resolutionX | Number |
|
The horizontal resolution. |
options.resolutionY | Number |
|
The vertical resolution. |