Phaser API Documentation

  Version: 
Filter
Namespace: Shader
Phaser.Types.GameObjects.Shader

Type Definitions

ShaderConfig
Focus
Focus
Properties:
name type arguments Default description
key string | Phaser.Display.BaseShader

The key of the shader to use from the shader cache, or a BaseShader instance.

width number <optional> 128

The width of the Game Object.

height number <optional> 128

The height of the Game Object.

Type:
object
Since: 3.50.0
Focus
Focus