diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2016-07-13 20:51:38 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2016-09-14 15:18:00 +0200 |
commit | 97cf3eba56f7f89b9a6b275c70e54e52303e25a7 (patch) | |
tree | 0d5eecb214fb9203d826a334f9cc6bb2b1d64676 /scene/main/viewport.h | |
parent | 827a9aa8294e7e2405f645579cc3e7044f3be079 (diff) |
Restore viewport set_world_2d functionality
Diffstat (limited to 'scene/main/viewport.h')
-rw-r--r-- | scene/main/viewport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/viewport.h b/scene/main/viewport.h index 145f642fd3..f657f0507d 100644 --- a/scene/main/viewport.h +++ b/scene/main/viewport.h @@ -305,9 +305,11 @@ public: RID get_viewport() const; void set_world(const Ref<World>& p_world); + void set_world_2d(const Ref<World2D>& p_world_2d); Ref<World> get_world() const; Ref<World> find_world() const; + Ref<World2D> get_world_2d() const; Ref<World2D> find_world_2d() const; |