Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

@pixi/filter-color-replace

2.6.0 • Public • Published

ColorReplaceFilter

PixiJS v4 filter to replace a single color.

Installation

npm install @pixi/filter-color-replace

Usage

import {ColorReplaceFilter} from '@pixi/filter-color-replace';
import {Container} from 'pixi.js';
 
const container = new Container();
container.filters = [new ColorReplaceFilter()];

Documentation

See https://pixijs.github.io/pixi-filters/docs

Keywords

none

install

npm i @pixi/filter-color-replace

Downloadsweekly downloads

1,020

version

2.6.0

license

MIT

homepage

pixijs.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar