You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
-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
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user