UNPKG

arcade-physics

Version:
15 lines 737 B
export = CullBounds; /** * Returns the bounds in the given orthogonal layer that are within the cameras viewport. * This is used internally by the cull tiles function. * * @function Phaser.Tilemaps.Components.CullBounds * @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 {Phaser.Geom.Rectangle} A rectangle containing the culled bounds. If you wish to retain this object, clone it, as it's recycled internally. */ declare function CullBounds(layer: Phaser.Tilemaps.LayerData, camera: Phaser.Cameras.Scene2D.Camera): Phaser.Geom.Rectangle; //# sourceMappingURL=CullBounds.d.ts.map