LogoPixi’VN
pixi-jsClasses

Class: FilterEffect

Defined in: node_modules/pixi.js/lib/filters/FilterEffect.d.ts:9

Internal

A filter effect is an effect that can be applied to a container that involves applying special pixel effects to that container as it is rendered. Used internally when the filters property is modified on a container.

Implements

Constructors

Constructor

> new FilterEffect(): FilterEffect

Returns

FilterEffect

Properties

filterArea?

> optional filterArea?: Rectangle

Defined in: node_modules/pixi.js/lib/filters/FilterEffect.d.ts:17

If specified, rather than calculating the bounds of the container that the filter will apply to, we use this rect instead. This is a local rect - so will have the containers transform applied to it


filters

> filters: readonly Filter[]

Defined in: node_modules/pixi.js/lib/filters/FilterEffect.d.ts:11

read only filters array - to modify, set it again!


pipe

> pipe: string

Defined in: node_modules/pixi.js/lib/filters/FilterEffect.d.ts:19

the pipe that knows how to handle this effect

Implementation of

Effect.pipe


priority

> priority: number

Defined in: node_modules/pixi.js/lib/filters/FilterEffect.d.ts:21

the priority of this effect

Implementation of

Effect.priority

Methods

destroy()

> destroy(): void

Defined in: node_modules/pixi.js/lib/filters/FilterEffect.d.ts:22

Returns

void

Implementation of

Effect.destroy