diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-10-05 01:26:35 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-10-05 01:26:35 -0300 |
commit | cf5778e51a883936ffc896231da8259e5ebabc0a (patch) | |
tree | 286f7eb7956a5c2c275276bbc9e3db5e3ff0730f /servers/visual/visual_server_raster.h | |
parent | a6e9dc615346f44b68b418483dd218d11ba4a674 (diff) |
-Added ViewportContainer, this is the only way to make viewports show up in GUI now
-2D editing now seems to work
-Added some functions and refactoring to Viewport
Diffstat (limited to 'servers/visual/visual_server_raster.h')
-rw-r--r-- | servers/visual/visual_server_raster.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/servers/visual/visual_server_raster.h b/servers/visual/visual_server_raster.h index cd6d7b38d3..2171998f3f 100644 --- a/servers/visual/visual_server_raster.h +++ b/servers/visual/visual_server_raster.h @@ -807,6 +807,7 @@ public: BIND3(viewport_set_size,RID,int ,int ) BIND2(viewport_set_active,RID ,bool ) + BIND2(viewport_set_parent_viewport,RID,RID) BIND2(viewport_set_clear_mode,RID,ViewportClearMode ) @@ -818,11 +819,11 @@ public: BIND1RC(RID,viewport_get_texture,RID ) - BIND1RC(Image,viewport_capture,RID ) BIND2(viewport_set_hide_scenario,RID,bool ) BIND2(viewport_set_hide_canvas,RID,bool ) BIND2(viewport_set_disable_environment,RID,bool ) + BIND2(viewport_set_disable_3d,RID,bool ) BIND2(viewport_attach_camera,RID,RID ) BIND2(viewport_set_scenario,RID,RID ) |