# typedefs

longname: Phaser.Device.Audio
memberof: Phaser.Device
name: Audio
type: object
metapath: device
metafilename: Audio.js
since: 3.0.0
description:
Determines the audio playback capabilities of the device running this Phaser Game instance.
These values are read-only and populated during the boot sequence of the game.
They are then referenced by internal game systems and are available for you to access
via `this.sys.game.device.audio` from within any Scene.


longname: Phaser.Device.Browser
memberof: Phaser.Device
name: Browser
type: object
metapath: device
metafilename: Browser.js
since: 3.0.0
description:
Determines the browser type and version running this Phaser Game instance.
These values are read-only and populated during the boot sequence of the game.
They are then referenced by internal game systems and are available for you to access
via `this.sys.game.device.browser` from within any Scene.


longname: Phaser.Device.CanvasFeatures
memberof: Phaser.Device
name: CanvasFeatures
type: object
metapath: device
metafilename: CanvasFeatures.js
since: 3.0.0
description:
Determines the canvas features of the browser running this Phaser Game instance.
These values are read-only and populated during the boot sequence of the game.
They are then referenced by internal game systems and are available for you to access
via `this.sys.game.device.canvasFeatures` from within any Scene.


longname: Phaser.Device.Features
memberof: Phaser.Device
name: Features
type: object
metapath: device
metafilename: Features.js
since: 3.0.0
description:
Determines the features of the browser running this Phaser Game instance.
These values are read-only and populated during the boot sequence of the game.
They are then referenced by internal game systems and are available for you to access
via `this.sys.game.device.features` from within any Scene.


longname: Phaser.Device.Fullscreen
memberof: Phaser.Device
name: Fullscreen
type: object
metapath: device
metafilename: Fullscreen.js
since: 3.0.0
description:
Determines the full screen support of the browser running this Phaser Game instance.
These values are read-only and populated during the boot sequence of the game.
They are then referenced by internal game systems and are available for you to access
via `this.sys.game.device.fullscreen` from within any Scene.


longname: Phaser.Device.Input
memberof: Phaser.Device
name: Input
type: object
metapath: device
metafilename: Input.js
since: 3.0.0
description:
Determines the input support of the browser running this Phaser Game instance.
These values are read-only and populated during the boot sequence of the game.
They are then referenced by internal game systems and are available for you to access
via `this.sys.game.device.input` from within any Scene.


longname: Phaser.Device.OS
memberof: Phaser.Device
name: OS
type: object
metapath: device
metafilename: OS.js
since: 3.0.0
description:
Determines the operating system of the device running this Phaser Game instance.
These values are read-only and populated during the boot sequence of the game.
They are then referenced by internal game systems and are available for you to access
via `this.sys.game.device.os` from within any Scene.


longname: Phaser.Device.Video
memberof: Phaser.Device
name: Video
type: object
metapath: device
metafilename: Video.js
since: 3.0.0
description:
Determines the video support of the browser running this Phaser Game instance.
These values are read-only and populated during the boot sequence of the game.
They are then referenced by internal game systems and are available for you to access
via `this.sys.game.device.video` from within any Scene.

In Phaser 3.20 the properties were renamed to drop the 'Video' suffix.


longname: Phaser.Types.GameObjects.BitmapText.BitmapFontCharacterData
memberof: Phaser.Types.GameObjects.BitmapText
name: BitmapFontCharacterData
type: object
metapath: gameobjects/bitmaptext/typedefs
metafilename: BitmapFontCharacterData.js
since: 3.0.0
description:
The font data for an individual character of a Bitmap Font.

Describes the character's position, size, offset and kerning.

As of version 3.50 it also includes the WebGL texture uv data.


longname: Phaser.Types.GameObjects.BitmapText.BitmapTextCharacter
memberof: Phaser.Types.GameObjects.BitmapText
name: BitmapTextCharacter
type: object
metapath: gameobjects/bitmaptext/typedefs
metafilename: BitmapTextCharacter.js
since: 3.50.0
description:
A single entry from the `BitmapTextSize` characters array.

The position and dimensions take the font size into account,
but are not translated into the local space of the Game Object itself.


longname: Phaser.Types.GameObjects.BitmapText.GlobalBitmapTextSize
memberof: Phaser.Types.GameObjects.BitmapText
name: GlobalBitmapTextSize
type: object
metapath: gameobjects/bitmaptext/typedefs
metafilename: GlobalBitmapTextSize.js
since: 3.0.0
description:
The position and size of the Bitmap Text in global space, taking into account the Game Object's scale and world position.


longname: Phaser.Types.GameObjects.Group.GroupCreateConfig
memberof: Phaser.Types.GameObjects.Group
name: GroupCreateConfig
type: object
metapath: gameobjects/group/typedefs
metafilename: GroupCreateConfig.js
since: 3.0.0
description:
The total number of objects created will be

    key.length * frame.length * frameQuantity * (yoyo ? 2 : 1) * (1 + repeat)

If `max` is nonzero, then the total created will not exceed `max`.

`key` is required. [Phaser.GameObjects.Group#defaultKey](Phaser.GameObjects.Group#defaultKey) is not used.


longname: Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType
memberof: Phaser.Types.GameObjects.Particles
name: EmitterOpOnEmitType
metapath: gameobjects/particles/typedefs
metafilename: EmitterOpOnEmitType.js
since: 3.18.0
type:
number | Array.<number> | Phaser.Types.GameObjects.Particles.EmitterOpOnEmitCallback | Phaser.Types.GameObjects.Particles.EmitterOpRandomConfig | Phaser.Types.GameObjects.Particles.EmitterOpRandomMinMaxConfig | Phaser.Types.GameObjects.Particles.EmitterOpRandomStartEndConfig | Phaser.Types.GameObjects.Particles.EmitterOpSteppedConfig | Phaser.Types.GameObjects.Particles.EmitterOpCustomEmitConfig


longname: Phaser.Types.GameObjects.Particles.EmitterOpOnUpdateType
memberof: Phaser.Types.GameObjects.Particles
name: EmitterOpOnUpdateType
metapath: gameobjects/particles/typedefs
metafilename: EmitterOpOnUpdateType.js
since: 3.18.0
type:
Phaser.Types.GameObjects.Particles.EmitterOpOnUpdateCallback | Phaser.Types.GameObjects.Particles.EmitterOpEaseConfig | Phaser.Types.GameObjects.Particles.EmitterOpCustomUpdateConfig


longname: Phaser.Types.Input.EventData
memberof: Phaser.Types.Input
name: EventData
type: object
metapath: input/typedefs
metafilename: EventData.js
since: 3.15.1
description:
A Phaser Input Event Data object.

This object is passed to the registered event listeners and allows you to stop any further propagation.


longname: Phaser.Types.Physics.Arcade.ArcadeColliderType
memberof: Phaser.Types.Physics.Arcade
name: ArcadeColliderType
description: An Arcade Physics Collider Type.
metapath: physics/arcade/typedefs
metafilename: ArcadeColliderType.js
since: 3.0.0
type:
Phaser.GameObjects.GameObject | Phaser.GameObjects.Group | Phaser.Physics.Arcade.Sprite | Phaser.Physics.Arcade.Image | Phaser.Physics.Arcade.StaticGroup | Phaser.Physics.Arcade.Group | Phaser.Tilemaps.TilemapLayer | Array.<Phaser.GameObjects.GameObject> | Array.<Phaser.Physics.Arcade.Sprite> | Array.<Phaser.Physics.Arcade.Image> | Array.<Phaser.Physics.Arcade.StaticGroup> | Array.<Phaser.Physics.Arcade.Group> | Array.<Phaser.Tilemaps.TilemapLayer>


longname: Phaser.Types.Physics.Matter.MatterBody
memberof: Phaser.Types.Physics.Matter
name: MatterBody
metapath: physics/matter-js/typedefs
metafilename: MatterBody.js
since: 3.22.0
type:
MatterJS.BodyType | Phaser.GameObjects.GameObject | Phaser.Physics.Matter.Image | Phaser.Physics.Matter.Sprite | Phaser.Physics.Matter.TileBody


longname: Phaser.Types.Physics.Matter.MatterCollisionFilter
memberof: Phaser.Types.Physics.Matter
name: MatterCollisionFilter
type: object
metapath: physics/matter-js/typedefs
metafilename: MatterCollisionFilter.js
since: 3.22.0
description:
An `Object` that specifies the collision filtering properties of this body.

Collisions between two bodies will obey the following rules:
- If the two bodies have the same non-zero value of `collisionFilter.group`,
  they will always collide if the value is positive, and they will never collide
  if the value is negative.
- If the two bodies have different values of `collisionFilter.group` or if one
  (or both) of the bodies has a value of 0, then the category/mask rules apply as follows:

Each body belongs to a collision category, given by `collisionFilter.category`. This
value is used as a bit field and the category should have only one bit set, meaning that
the value of this property is a power of two in the range [1, 2^31]. Thus, there are 32
different collision categories available.

Each body also defines a collision bitmask, given by `collisionFilter.mask` which specifies
the categories it collides with (the value is the bitwise AND value of all these categories).

Using the category/mask rules, two bodies `A` and `B` collide if each includes the other's
category in its mask, i.e. `(categoryA & maskB) !== 0` and `(categoryB & maskA) !== 0`
are both true.


longname: Phaser.Scale.CenterType
memberof: Phaser.Scale
name: CenterType
type: Phaser.Scale.Center
metapath: scale/const
metafilename: CENTER_CONST.js
since: 3.16.0
description:
Phaser Scale Manager constants for centering the game canvas.

To find out what each mode does please see [Phaser.Scale.Center](Phaser.Scale.Center).


longname: Phaser.Scale.OrientationType
memberof: Phaser.Scale
name: OrientationType
type: Phaser.Scale.Orientation
metapath: scale/const
metafilename: ORIENTATION_CONST.js
since: 3.16.0
description:
Phaser Scale Manager constants for orientation.

To find out what each mode does please see [Phaser.Scale.Orientation](Phaser.Scale.Orientation).


longname: Phaser.Scale.ScaleModeType
memberof: Phaser.Scale
name: ScaleModeType
type: Phaser.Scale.ScaleModes
metapath: scale/const
metafilename: SCALE_MODE_CONST.js
since: 3.16.0
description:
Phaser Scale Manager constants for the different scale modes available.

To find out what each mode does please see [Phaser.Scale.ScaleModes](Phaser.Scale.ScaleModes).


longname: Phaser.Scale.ZoomType
memberof: Phaser.Scale
name: ZoomType
type: Phaser.Scale.Zoom
metapath: scale/const
metafilename: ZOOM_CONST.js
since: 3.16.0
description:
Phaser Scale Manager constants for zoom modes.

To find out what each mode does please see [Phaser.Scale.Zoom](Phaser.Scale.Zoom).


longname: Phaser.Types.Scenes.SceneCreateCallback
memberof: Phaser.Types.Scenes
name: SceneCreateCallback
type: function
metapath: scene/typedefs
metafilename: SceneCreateCallback.js
since: 3.0.0
description:
Can be defined on your own Scenes. Use it to create your game objects.
This method is called by the Scene Manager when the scene starts, after `init()` and `preload()`.
If the LoaderPlugin started after `preload()`, then this method is called only after loading is complete.


longname: Phaser.Types.Scenes.SceneInitCallback
memberof: Phaser.Types.Scenes
name: SceneInitCallback
type: function
metapath: scene/typedefs
metafilename: SceneInitCallback.js
since: 3.0.0
description:
Can be defined on your own Scenes.
This method is called by the Scene Manager when the scene starts, before `preload()` and `create()`.


longname: Phaser.Types.Scenes.ScenePreloadCallback
memberof: Phaser.Types.Scenes
name: ScenePreloadCallback
type: function
metapath: scene/typedefs
metafilename: ScenePreloadCallback.js
since: 3.0.0
description:
Can be defined on your own Scenes. Use it to load assets.
This method is called by the Scene Manager, after `init()` and before `create()`, only if the Scene has a LoaderPlugin.
After this method completes, if the LoaderPlugin's queue isn't empty, the LoaderPlugin will start automatically.


longname: Phaser.Types.Sound.DecodeAudioConfig
memberof: Phaser.Types.Sound
name: DecodeAudioConfig
type: object
metapath: sound/typedefs
metafilename: DecodeAudioConfig.js
since: 3.18.0
description:
A Audio Data object.

You can pass an array of these objects to the WebAudioSoundManager `decodeAudio` method to have it decode
them all at once.


longname: Phaser.Types.Sound.SoundMarker
memberof: Phaser.Types.Sound
name: SoundMarker
type: object
metapath: sound/typedefs
metafilename: SoundMarker.js
since: 3.0.0
description:
Marked section of a sound represented by name, and optionally start time, duration, and config object.


longname: Phaser.Tilemaps.OrientationType
memberof: Phaser.Tilemaps
name: OrientationType
type: Phaser.Tilemaps.Orientation
metapath: tilemaps/const
metafilename: ORIENTATION_CONST.js
since: 3.50.0
description:
Phaser Tilemap constants for orientation.

To find out what each mode does please see [Phaser.Tilemaps.Orientation](Phaser.Tilemaps.Orientation).


# changelog

page:
---
version: 3.55.2
previous: 3.55.1
next: 3.56.0
title: Ichika
date: 24th May 2021
github: https://github.com/photonstorm/phaser/tree/v3.55.2
js: https://github.com/photonstorm/phaser/releases/download/v3.55.2/phaser.js
min: https://github.com/photonstorm/phaser/releases/download/v3.55.2/phaser.min.js
zip: https://github.com/photonstorm/phaser/archive/v3.55.2.zip
tar: https://github.com/photonstorm/phaser/archive/v3.55.2.tar.gz
npm: npm install phaser@3.55.2
---

## Version 3.55.2 - Ichika - 27th May 2021

### Bug Fixes

* Fixed an issue in `FillPathWebGL`, `IsoBoxWebGLRenderer` and `IsoTriangleWebGLRenderer` functions which caused the filled versions of most Shape Game Objects to pick-up the texture of the previous object on the display list. Fix #5720 (thanks @samme)


