phaser3-rex-plugins
Version:
34 lines (26 loc) • 921 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;
add(
camera: Phaser.Cameras.Scene2D.Camera,
config?: GlowFilterPipelinePlugin.IConfig
): GlowFilterPostFxPipeline;
remove(
gameObject: Phaser.GameObjects.GameObject,
name?: string
): this;
get(
gameObject: Phaser.GameObjects.GameObject,
name?: string
): GlowFilterPostFxPipeline | GlowFilterPostFxPipeline[];
}