gs.PixelateEffect Class
Describes a pixelate-effect which pixelates the game object.
Constructor
gs.PixelateEffect
()
Methods
fromObject
(
gs.PixelateEffect
static
-
o
Creates a pixelate-effect from an raw object. The object should contain all the properties defined by the PixelateEffect class.
Parameters:
-
o
Object- The object with all necessary properties of the pixelate-effect.
Returns:
gs.PixelateEffect:
The new created pixelate-effect.
Properties
power
Number
The pixelate-power.
Default: 0