Phaser.Component. InCamera

new InCamera()

The InCamera component checks if the Game Object intersects with the Game Camera.

Source - gameobjects/components/InCamera.js, line 12

Members

<readonly> inCamera :boolean

Checks if this Game Objects bounds intersects with the Game Cameras bounds.

It will be true if they intersect, or false if the Game Object is fully outside of the Cameras bounds.

An object outside the bounds can be considered for camera culling if it has the AutoCull component.

Source - gameobjects/components/InCamera.js, line 26
Phaser Copyright © 2012-2015 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.0-alpha10 on Wed Jul 29 2015 14:57:53 GMT+0100 (GMT Daylight Time) using the DocStrap template.