arcade-physics
Version:
Use Arcade Physics without Phaser.
15 lines • 686 B
TypeScript
export = StaggeredCullBounds;
/**
* Returns the bounds in the given layer that are within the camera's viewport.
* This is used internally by the cull tiles function.
*
* @function Phaser.Tilemaps.Components.StaggeredCullBounds
* @since 3.50.0
*
* @param {Phaser.Tilemaps.LayerData} layer - The Tilemap Layer to act upon.
* @param {Phaser.Cameras.Scene2D.Camera} camera - The Camera to run the cull check against.
*
* @return {object} An object containing the `left`, `right`, `top` and `bottom` bounds.
*/
declare function StaggeredCullBounds(layer: Phaser.Tilemaps.LayerData, camera: Phaser.Cameras.Scene2D.Camera): object;
//# sourceMappingURL=StaggeredCullBounds.d.ts.map