@petkoneo/phaser3-rex-plugins
Version:
29 lines (22 loc) • 748 B
TypeScript
// import * as Phaser from 'phaser';
import GlowFilterPostFxPipeline from './glowfilterpipeline';
export default GlowFilterPipelinePlugin;
declare namespace GlowFilterPipelinePlugin {
interface IConfig extends GlowFilterPostFxPipeline.IConfig {
name?: string,
}
}
declare class GlowFilterPipelinePlugin extends Phaser.Plugins.BasePlugin {
add(
gameObject: Phaser.GameObjects.GameObject,
config?: GlowFilterPipelinePlugin.IConfig
): GlowFilterPostFxPipeline;
remove(
gameObject: Phaser.GameObjects.GameObject,
name?: string
): this;
get(
gameObject: Phaser.GameObjects.GameObject,
name?: string
): GlowFilterPostFxPipeline | GlowFilterPostFxPipeline[];
}