mirror of
https://github.com/photonstorm/phaser
synced 2024-11-15 01:17:43 +00:00
Tile.tintFill
is a new boolean property that controls if the tile tint is additive or fill based. This is used in the TilemapLayerWebGLRenderer function.
This commit is contained in:
parent
181a022348
commit
641276c625
1 changed files with 13 additions and 0 deletions
|
@ -302,6 +302,19 @@ var Tile = new Class({
|
|||
*/
|
||||
this.tint = 0xffffff;
|
||||
|
||||
/**
|
||||
* The tint fill mode.
|
||||
*
|
||||
* `false` = An additive tint (the default), where vertices colors are blended with the texture.
|
||||
* `true` = A fill tint, where the vertices colors replace the texture, but respects texture alpha.
|
||||
*
|
||||
* @name Phaser.Tilemaps.Tile#tintFill
|
||||
* @type {boolean}
|
||||
* @default
|
||||
* @since 3.61.0
|
||||
*/
|
||||
this.tintFill = false;
|
||||
|
||||
/**
|
||||
* An empty object where physics-engine specific information (e.g. bodies) may be stored.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue