You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Window transparency support on Android
Implements per-pixel transparency feature on Android. Allows plugins to do specific rendering and render godot UI on top (useful for camera support with drawing on top).
This commit is contained in:
@@ -2552,6 +2552,11 @@ void EditorExportPlatformAndroid::get_command_line_flags(const Ref<EditorExportP
|
||||
command_line_strings.push_back("--debug_opengl");
|
||||
}
|
||||
|
||||
bool translucent = ProjectSettings::get_singleton()->get("display/window/per_pixel_transparency/enabled");
|
||||
if (translucent) {
|
||||
command_line_strings.push_back("--translucent");
|
||||
}
|
||||
|
||||
if (command_line_strings.size()) {
|
||||
r_command_line_flags.resize(4);
|
||||
encode_uint32(command_line_strings.size(), &r_command_line_flags.write[0]);
|
||||
|
||||
Reference in New Issue
Block a user