-Added google play services (needed for some stuff)
-Added new screen resizing options, stretch_2d is removed, new much more flexible ones. -Fixed bug in viewport (can create more instances in 3d-in-2d demo now) -Can set android permissions and screen sizes manually in the export settings -Changed export templates extension to .tpz (too many people unzipped the manually..) -File dialog now ensures that the proper extension is used (will not allow to save without it) -Fixed bug that made collision exceptions not work in 2D
This commit is contained in:
@ -592,6 +592,7 @@ public:
|
||||
|
||||
virtual void viewport_attach_to_screen(RID p_viewport,int p_screen=0)=0;
|
||||
virtual void viewport_detach(RID p_viewport)=0;
|
||||
virtual void viewport_set_render_target_to_screen_rect(RID p_viewport,const Rect2& p_rect)=0;
|
||||
|
||||
enum RenderTargetUpdateMode {
|
||||
RENDER_TARGET_UPDATE_DISABLED,
|
||||
@ -611,6 +612,8 @@ public:
|
||||
virtual void viewport_queue_screen_capture(RID p_viewport)=0;
|
||||
virtual Image viewport_get_screen_capture(RID p_viewport) const=0;
|
||||
|
||||
|
||||
|
||||
struct ViewportRect {
|
||||
|
||||
int x,y,width,height;
|
||||
|
||||
Reference in New Issue
Block a user