summaryrefslogtreecommitdiff
path: root/servers/rendering/storage
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2023-01-27 14:55:22 -0800
committerclayjohn <claynjohn@gmail.com>2023-01-27 14:55:22 -0800
commiteb9c2b878a8c86a96a2c5013bf15a915df7e1338 (patch)
tree8d393ed910193f159e1ac71fe9b8eda365e0dd49 /servers/rendering/storage
parent0f8f0ab126437ed593e6463b85a6ee25af9ee5d4 (diff)
Automatically transform Skeleton2D calculations so pivots are not needed
Diffstat (limited to 'servers/rendering/storage')
-rw-r--r--servers/rendering/storage/mesh_storage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/storage/mesh_storage.h b/servers/rendering/storage/mesh_storage.h
index 704c2e015c..76e46a696a 100644
--- a/servers/rendering/storage/mesh_storage.h
+++ b/servers/rendering/storage/mesh_storage.h
@@ -83,6 +83,7 @@ public:
virtual void mesh_instance_set_skeleton(RID p_mesh_instance, RID p_skeleton) = 0;
virtual void mesh_instance_set_blend_shape_weight(RID p_mesh_instance, int p_shape, float p_weight) = 0;
virtual void mesh_instance_check_for_update(RID p_mesh_instance) = 0;
+ virtual void mesh_instance_set_canvas_item_transform(RID p_mesh_instance, const Transform2D &p_transform) = 0;
virtual void update_mesh_instances() = 0;
/* MULTIMESH API */