global#scaleModes

<constant> scaleModes

The scale modes that are supported by Pixi.

The DEFAULT scale mode affects the default scaling mode of future operations.
It can be re-assigned to either LINEAR or NEAREST, depending upon suitability.

Properties:
Name Type Default Description
Phaser.scaleModes Object
scaleModes.DEFAULT Number LINEAR
scaleModes.LINEAR Number

Smooth scaling

scaleModes.NEAREST Number

Pixelating scaling

Source code: Phaser.js (Line 532)

doc_phaser
2017-02-14 10:49:23
Comments
Leave a Comment

Please login to continue.