diff options
author | Juan Linietsky <juan@godotengine.org> | 2019-03-03 12:23:03 -0300 |
---|---|---|
committer | Juan Linietsky <juan@godotengine.org> | 2019-03-03 12:24:00 -0300 |
commit | 2f32a75d2e2afc22e7e170c2506455010d063ce8 (patch) | |
tree | b8831d5da49f47ee1d3e4542744e903fa89d36e8 /servers/visual/rasterizer.h | |
parent | 9db96d9f810ebf60e807eb46a1bd02974be1f375 (diff) |
Skeletons can now choose between using local or world coords for processing, fixes #26468
Diffstat (limited to 'servers/visual/rasterizer.h')
-rw-r--r-- | servers/visual/rasterizer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h index 8502ef5bf7..dd54698471 100644 --- a/servers/visual/rasterizer.h +++ b/servers/visual/rasterizer.h @@ -355,6 +355,7 @@ public: virtual void skeleton_bone_set_transform_2d(RID p_skeleton, int p_bone, const Transform2D &p_transform) = 0; virtual Transform2D skeleton_bone_get_transform_2d(RID p_skeleton, int p_bone) const = 0; virtual void skeleton_set_base_transform_2d(RID p_skeleton, const Transform2D &p_base_transform) = 0; + virtual void skeleton_set_world_transform(RID p_skeleton, bool p_enable, const Transform &p_world_transform) = 0; /* Light API */ |