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

Method setTint2

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

* Sets the secondary tint color on this Game Object. * This is used in two-color tint modes. * See Phaser.GameObjects.Components.Tint#setTint for more information. * @param topLeft The secondary tint being applied to the top-left of the Game

(topLeft?: number, topRight?: number, bottomLeft?: number, bottomRight?: number)

Source from the content-addressed store, hash-verified

20342 * @returns This Game Object instance.
20343 */
20344 setTint2(topLeft?: number, topRight?: number, bottomLeft?: number, bottomRight?: number): this;
20345 /**
20346 * Sets the tint mode to use when applying the tint to the texture.
20347 *

Callers 1

Tint.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected