World#fixedToCamera

fixedToCamera : boolean

A Group that is fixed to the camera uses its x/y coordinates as offsets from the top left of the camera. These are stored in Group.cameraOffset.

Note that the cameraOffset values are in addition to any parent in the display list.
So if this Group was in a Group that has x: 200, then this will be added to the cameraOffset.x

Inherited From
Source code: core/Group.js (Line 265)
doc_phaser
2017-02-14 11:20:52
Comments
Leave a Comment

Please login to continue.