| Name | Type | Default | Description |
|---|---|---|---|
color |
number | Array.<number> | 0x000000 |
optional
The resulting color, as a 3 component RGB e.g. [1.0, 0.5, 1.0] |
Example
// replaces red with blue
someSprite.filters = [new ColorOverlayFilter(
[1, 0, 0],
[0, 0, 1],
0.001
)];
Extends
- PIXI.Filter
Members
-
The resulting color, as a 3 component RGB e.g. [1.0, 0.5, 1.0]
- Default Value:
- 0x000000

