FlexGrid#createFixedLayer()

createFixedLayer(children) → {Phaser.FlexLayer}

A fixed layer is centered on the game and is the size of the required dimensions and is never scaled.

Parameters
Name Type Argument Description
children Array.<PIXI.DisplayObject> <optional>

An array of children that are used to populate the FlexLayer.

Returns

The Layer object.

Source code: core/FlexGrid.js (Line 194)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.