Add clarification to tile_set_modulate

To resolve 45677, adds a note to tile_set_modulate clarifying how to use tile_modulate in shaders.

(cherry picked from commit 6ac800aab7)
This commit is contained in:
SnailRhymer 2022-01-24 21:23:04 +00:00 committed by Rémi Verschelde
parent 2e8334fa00
commit ad12f54778
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

View File

@ -427,6 +427,7 @@
<argument index="1" name="color" type="Color" />
<description>
Sets the tile's modulation color.
[b]Note:[/b] Modulation is performed by setting the tile's vertex color. To access this in a shader, use [code]COLOR[/code] rather than [code]MODULATE[/code] (which instead accesses the [TileMap]'s [member CanvasItem.modulate] property).
</description>
</method>
<method name="tile_set_name">