phaser - v4.0.0-rc.4
    Preparing search index...
    ShaderConfig: GameObjectConfig & {
        config: string | ShaderQuadConfig;
        height?: number;
        width?: number;
    }

    Type declaration

    • config: string | ShaderQuadConfig

      The configuration object this Shader will use. It can also be a key that corresponds to a shader in the shader cache, which will be used as fragmentKey in a new config object.

    • Optionalheight?: number

      The height of the Game Object.

    • Optionalwidth?: number

      The width of the Game Object.