summaryrefslogtreecommitdiff
path: root/scene/resources/tile_set.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/tile_set.h')
-rw-r--r--scene/resources/tile_set.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/resources/tile_set.h b/scene/resources/tile_set.h
index 448444d34a..3c4584161c 100644
--- a/scene/resources/tile_set.h
+++ b/scene/resources/tile_set.h
@@ -44,6 +44,7 @@ class TileSet : public Resource {
String name;
Ref<Texture> texture;
+ Ref<Texture> normal_map;
Vector2 offset;
Vector2 shape_offset;
Rect2i region;
@@ -81,6 +82,9 @@ public:
void tile_set_texture(int p_id, const Ref<Texture> &p_texture);
Ref<Texture> tile_get_texture(int p_id) const;
+ void tile_set_normal_map(int p_id, const Ref<Texture> &p_normal_map);
+ Ref<Texture> tile_get_normal_map(int p_id) const;
+
void tile_set_texture_offset(int p_id, const Vector2 &p_offset);
Vector2 tile_get_texture_offset(int p_id) const;