summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-02-26 00:24:08 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-06-21 17:02:52 +0200
commitb3fe2732e3a540960ae4bed0ef69b5dd8939ee08 (patch)
tree751b289587ba4b0f060ad151f76d416ee64e4cf1 /doc
parentf3bf0334bbbb3308d496425df0750e5ddf3e1fe8 (diff)
Allow using CanvasItemMaterial in the TileSet editor
Previously, only ShaderMaterial overrides could be added.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/TileData.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/TileData.xml b/doc/classes/TileData.xml
index 0c2961fd5e..66cf602e5d 100644
--- a/doc/classes/TileData.xml
+++ b/doc/classes/TileData.xml
@@ -199,7 +199,8 @@
</member>
<member name="flip_v" type="bool" setter="set_flip_v" getter="get_flip_v" default="false">
</member>
- <member name="material" type="ShaderMaterial" setter="set_material" getter="get_material">
+ <member name="material" type="Material" setter="set_material" getter="get_material">
+ The [Material] to use for this [TileData]. This can be a [CanvasItemMaterial] to use the default shader, or a [ShaderMaterial] to use a custom shader.
</member>
<member name="modulate" type="Color" setter="set_modulate" getter="get_modulate" default="Color(1, 1, 1, 1)">
</member>