PIXI.filters.TiltShiftFilter
class TiltShiftFilter extends PIXI.Filter
A TiltShift Filter. Manages the pass of both a TiltShiftXFilter and TiltShiftYFilter.


Constructor
new PIXI.filters.TiltShiftFilter(blur: number, gradientBlur: number, start: PIXI.Point, end: PIXI.Point) → {}
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
| blur | number |
<optional> |
100 |
The strength of the blur. |
| gradientBlur | number |
<optional> |
600 |
The strength of the gradient blur. |
| start | PIXI.Point |
<optional> |
null |
The Y value to start the effect at. |
| end | PIXI.Point |
<optional> |
null |
The Y value to end the effect at. |
Summary
Properties from TiltShiftFilter
| number |
The strength of the blur. |
| PIXI.Point |
The Y value to end the effect at. |
| number |
The strength of the gradient blur. |
| PIXI.Point |
The Y value to start the effect at. |
Properties inherited from Filter
| boolean |
|
| PIXI.BLEND_MODES |
|
| boolean |
If enabled is true the filter is applied, if false it will not. |
| boolean |
|
| PIXI.MSAA_QUALITY |
The samples of the filter. |
| number |
|
| number |
|
| PIXI.State |
The WebGL state the filter requires to render. |
Properties inherited from Shader
| PIXI.Program |
Program that the shader uses. |
| Dict<any> |
|
Methods inherited from Filter
| void |
|