File size: 843 Bytes
670a607
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// import * as Phaser from 'phaser';
import KawaseBlurFilterPostFxPipeline from './kawaseblurpipeline';


export default KawaseBlurFilterPipelinePlugin;

declare namespace KawaseBlurFilterPipelinePlugin {

    interface IConfig extends KawaseBlurFilterPostFxPipeline.IConfig {        
        name?: string,
    }

}

declare class KawaseBlurFilterPipelinePlugin extends Phaser.Plugins.BasePlugin {
    add(
        gameObject: Phaser.GameObjects.GameObject | Phaser.Cameras.Scene2D.Camera,
        config?: KawaseBlurFilterPipelinePlugin.IConfig
    ): KawaseBlurFilterPostFxPipeline;

    remove(
        gameObject: Phaser.GameObjects.GameObject,
        name?: string
    ): this;

    get(
        gameObject: Phaser.GameObjects.GameObject,
        name?: string
    ): KawaseBlurFilterPostFxPipeline | KawaseBlurFilterPostFxPipeline[];
}