mirror of
https://github.com/photonstorm/phaser
synced 2024-12-19 01:24:48 +00:00
a686f6e212
PIXI.DisplayObject.worldScale contains the scale of the DisplayObject (and therefore any object that inherits from it, such as Phaser.Sprite) taking into account all transforms in the display list. It is updated at the end of `DisplayObject.updateTransform`. DisplayObject.scale reflects only the scale applied to the object directly, whereas worldScale includes any scales that may have been applied to its ancestors. PIXI.DisplayObject.worldRotation contains the rotation of the DisplayObject (and therefore any object that inherits from it, such as Phaser.Sprite) taking into account all transforms in the display list. It is updated at the end of `DisplayObject.updateTransform`. DisplayObject.rotation reflects only the rotation applied to the object directly, whereas worldRotation includes any rotations that may have been applied to its ancestors. |
||
---|---|---|
.. | ||
display | ||
extras | ||
filters | ||
primitives | ||
renderers | ||
text | ||
textures | ||
utils | ||
Intro.js | ||
Outro.js | ||
Pixi.js |