Skip to main content
Version: Phaser v4.0.0-rc.6

Phaser.Types.GameObjects

Scope: static

Source: src/gameobjects/typedefs/index.js#L7

Static functions

Static functions

DecomposeMatrixResults

DecomposeMatrixResults

Source: src/gameobjects/typedefs/DecomposeMatrixResults.js#L1
Since: 3.60.0


FiltersInternalExternal

FiltersInternalExternal

Source: src/gameobjects/typedefs/FiltersInternalExternal.js#L1
Since: 4.0.0


GameObjectConfig

GameObjectConfig

Source: src/gameobjects/typedefs/GameObjectConfig.js#L1
Since: 3.0.0


GetCalcMatrixResults

GetCalcMatrixResults

Source: src/gameobjects/typedefs/GetCalcMatrixResults.js#L1
Since: 3.50.0


JSONGameObject

JSONGameObject

Source: src/gameobjects/typedefs/JSONGameObject.js#L1
Since: 3.0.0


RenderWebGLStep

RenderWebGLStep

Description:

A function which performs a rendering operation on the given Game Object.

This is usually the renderWebGL method of the Game Object itself,

but Phaser.GameObjects.Components.RenderSteps allows you to define

a series of steps that are run in sequence.

The function is not expected to run in any particular scope,

so it should not use this. Instead, all required properties should be

accessed via gameObject.

Parameters:

nametypeoptionaldefaultdescription
rendererPhaser.Renderer.WebGL.WebGLRendererNoA reference to the current active WebGL renderer.
gameObjectPhaser.GameObjects.GameObjectNoThe Game Object being rendered in this call.
drawingContextPhaser.Renderer.WebGL.DrawingContextNoThe current drawing context.
parentMatrixPhaser.GameObjects.Components.TransformMatrixYesThis transform matrix is defined if the game object is nested
renderStepnumberYes0The index of this function in the Game Object's list of render processes. Used to support multiple rendering functions.
displayListArray.<Phaser.GameObjects.GameObject>YesThe display list which is currently being rendered.
displayListIndexnumberYesThe index of the Game Object within the display list.

Returns: void - undefined

Source: src/gameobjects/typedefs/RenderWebGLStep.js#L1
Since: 4.0.0