mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Draw checkerboard (or clear color) under embedded window.
This commit is contained in:
parent
c0ebba60de
commit
6a118b5027
4 changed files with 36 additions and 1 deletions
|
|
@ -47,6 +47,12 @@ protected:
|
|||
Point2i margin_bottom_right;
|
||||
Window *window = nullptr;
|
||||
|
||||
bool transp_enabled = false;
|
||||
Color clear_color;
|
||||
Ref<Texture2D> checkerboard;
|
||||
|
||||
void _project_settings_changed();
|
||||
|
||||
static void _bind_methods();
|
||||
void _notification(int p_what);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue