TiltShiftBlurMaterial
Extends:
Indirect Implements:
A tilt shift blur material.
Constructor Summary
Public Constructor | ||
public |
constructor(options: Object) Constructs a new tilt shift blur material. |
Member Summary
Public Members | ||
public get |
The softness of the focus area edges. |
|
public set |
|
|
public get |
The relative size of the focus area. |
|
public set |
|
|
public |
|
|
public |
kernelSize: * |
|
public get |
The relative offset of the focus area. |
|
public set |
|
|
public get |
The rotation of the focus area in radians. |
|
public set |
|
|
public |
vertexShader: * |
Method Summary
Public Methods | ||
public |
Sets the size of this object. |
Inherited Summary
From class KawaseBlurMaterial | ||
public set |
inputBuffer: Texture The input buffer. |
|
public get |
The current kernel. |
|
public set |
|
|
public get |
The kernel sequence for the current kernel size. |
|
public get |
The blur scale. |
|
public set |
|
|
public |
The kernel size. |
|
public |
this method was deprecated. Implementation detail, removed with no replacement.
Returns the kernel. |
|
public |
this method was deprecated. Use scale instead.
Returns the blur scale. |
|
public |
setInputBuffer(value: Texture) this method was deprecated. Use inputBuffer instead.
Sets the input buffer. |
|
public |
this method was deprecated. Use kernel instead.
Sets the current kernel. |
|
public |
this method was deprecated. Use scale instead.
Sets the blur scale. |
|
public |
Sets the size of this object. |
|
public |
setTexelSize(x: Number, y: Number) this method was deprecated. Use setSize() instead.
Sets the texel size. |
Public Constructors
public constructor(options: Object) source
Constructs a new tilt shift blur material.
Override:
KawaseBlurMaterial#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. |