API Docs for:
Show:

gs.PixelateEffect Class

Describes a pixelate-effect which pixelates the game object.

Constructor

gs.PixelateEffect

()

Item Index

Methods

Properties

Methods

fromObject

(
  • o
)
gs.PixelateEffect static

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