2023-02-13 18:50:27 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
|
|
* @copyright 2013-2023 Photon Storm Ltd.
|
|
|
|
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
|
|
|
*/
|
|
|
|
|
|
|
|
var FX_CONST = {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The Glow FX.
|
|
|
|
*
|
|
|
|
* @name Phaser.GameObjects.FX.GLOW
|
|
|
|
* @type {number}
|
|
|
|
* @const
|
|
|
|
* @since 3.60.0
|
|
|
|
*/
|
2023-02-14 23:45:44 +00:00
|
|
|
GLOW: 4,
|
2023-02-13 18:50:27 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The Shadow FX.
|
|
|
|
*
|
|
|
|
* @name Phaser.GameObjects.FX.SHADOW
|
|
|
|
* @type {number}
|
|
|
|
* @const
|
|
|
|
* @since 3.60.0
|
|
|
|
*/
|
2023-02-14 23:45:44 +00:00
|
|
|
SHADOW: 5,
|
2023-02-13 18:50:27 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The Pixelate FX.
|
|
|
|
*
|
|
|
|
* @name Phaser.GameObjects.FX.PIXELATE
|
|
|
|
* @type {number}
|
|
|
|
* @const
|
|
|
|
* @since 3.60.0
|
|
|
|
*/
|
2023-02-14 23:45:44 +00:00
|
|
|
PIXELATE: 6,
|
2023-02-13 21:21:18 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The Vignette FX.
|
|
|
|
*
|
|
|
|
* @name Phaser.GameObjects.FX.VIGNETTE
|
|
|
|
* @type {number}
|
|
|
|
* @const
|
|
|
|
* @since 3.60.0
|
|
|
|
*/
|
2023-02-14 23:45:44 +00:00
|
|
|
VIGNETTE: 7,
|
2023-02-14 13:33:07 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The Shine FX.
|
|
|
|
*
|
|
|
|
* @name Phaser.GameObjects.FX.SHINE
|
|
|
|
* @type {number}
|
|
|
|
* @const
|
|
|
|
* @since 3.60.0
|
|
|
|
*/
|
2023-02-14 23:45:44 +00:00
|
|
|
SHINE: 8,
|
2023-02-14 18:53:52 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The Blur FX.
|
|
|
|
*
|
|
|
|
* @name Phaser.GameObjects.FX.BLUR
|
|
|
|
* @type {number}
|
|
|
|
* @const
|
|
|
|
* @since 3.60.0
|
|
|
|
*/
|
2023-02-14 23:45:44 +00:00
|
|
|
BLUR: 9, // uses 3 shaders, slots 9, 10 and 11
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The Linear Gradient FX.
|
|
|
|
*
|
|
|
|
* @name Phaser.GameObjects.FX.LINEAR_GRADIENT
|
|
|
|
* @type {number}
|
|
|
|
* @const
|
|
|
|
* @since 3.60.0
|
|
|
|
*/
|
|
|
|
LINEAR_GRADIENT: 12
|
2023-02-13 18:50:27 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = FX_CONST;
|