Class: Phaser.Component.Smoothed


new Smoothed()

The Smoothed component allows a Game Object to control anti-aliasing of an image based texture.

Source code: gameobjects/components/Smoothed.js (Line 12)

Public Properties

smoothed : boolean

Enable or disable texture smoothing for this Game Object.

It only takes effect if the Game Object is using an image based texture.

Smoothing is enabled by default.

Source code: gameobjects/components/Smoothed.js (Line 25)

© 2016 Richard Davey, Photon Storm Ltd.
Licensed under the MIT License.