Add clarification to tile_set_modulate

To resolve 45677, adds a note to tile_set_modulate clarifying how to use tile_modulate in shaders.
This commit is contained in:
SnailRhymer 2022-01-24 21:23:04 +00:00
parent 49df809ca4
commit 6ac800aab7

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">