Component.InWorld#InWorld

new InWorld()

The InWorld component checks if a Game Object is within the Game World Bounds.
An object is considered as being "in bounds" so long as its own bounds intersects at any point with the World bounds.
If the AutoCull component is enabled on the Game Object then it will check the Game Object against the Camera bounds as well.

Source code: gameobjects/components/InWorld.js (Line 14)
doc_phaser
2017-02-14 10:42:52
Comments
Leave a Comment

Please login to continue.