Phaser API Documentation

  Version: 
cull(renderableObjects)

Description:

Takes an array of Game Objects and returns a new array featuring only those objects visible by this camera.

Parameters:

name type description
renderableObjects Array.<Phaser.GameObjects.GameObject>

An array of Game Objects to cull.

Returns:
Description:

An array of Game Objects visible to this Camera.

Since: 3.0.0