MCPcopy Index your code
hub / github.com/phaserjs/phaser / setTintMode

Method setTintMode

types/phaser.d.ts:20353–20353  ·  view source on GitHub ↗

* Sets the tint mode to use when applying the tint to the texture. * * Note that, in Phaser 3, tint mode and color were set at the same time. * In Phaser 4 they are separate settings. * @param mode The tint mode to use.

(mode: number | Phaser.TintModes)

Source from the content-addressed store, hash-verified

20351 * @returns This Game Object instance.
20352 */
20353 setTintMode(mode: number | Phaser.TintModes): this;
20354 /**
20355 * Deprecated method which does nothing.
20356 * In Phaser 3, this would set the tint color, and set the tint mode to fill.

Callers 2

Tint.jsFile · 0.80
NineSlice.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected