PIXI.filters.TiltShiftFilter

class TiltShiftFilter extends PIXI.Filter

A TiltShift Filter. Manages the pass of both a TiltShiftXFilter and TiltShiftYFilter.
originalfilter

See:

Constructor


new PIXI.filters.TiltShiftFilter(blur: number, gradientBlur: number, start: PIXI.Point, end: PIXI.Point) → {}
Parameters:
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
blur

The strength of the blur.

PIXI.Point
end

The Y value to end the effect at.

number
gradientBlur

The strength of the gradient blur.

PIXI.Point
start

The Y value to start the effect at.

Properties inherited from Filter

boolean
autoFit = true
PIXI.BLEND_MODES
blendMode = PIXI.BLEND_MODES.NORMAL
boolean
enabled

If enabled is true the filter is applied, if false it will not.

boolean
legacy
PIXI.MSAA_QUALITY
multisample

The samples of the filter.

number
padding
number
resolution
PIXI.State
state

The WebGL state the filter requires to render.

Properties inherited from Shader

PIXI.Program
program

Program that the shader uses.

Dict<any>
uniforms

Methods inherited from Filter

void
apply(filterManager: PIXI.FilterSystem, input: PIXI.RenderTexture, output: PIXI.RenderTexture, clearMode: PIXI.CLEAR_MODES, _currentState: object)

Public Properties


blur TiltShiftFilter.ts:48
blur: number

The strength of the blur.

end TiltShiftFilter.ts:86
end: PIXI.Point

The Y value to end the effect at.

gradientBlur TiltShiftFilter.ts:60
gradientBlur: number

The strength of the gradient blur.

start TiltShiftFilter.ts:72
start: PIXI.Point

The Y value to start the effect at.


Powered by webdoc!