Godot::OS
Inherits Godot::Object < Reference < Object
Godot OS singleton (OS).
Constructors
instance
Sourcenew(pointer : Pointer(Void) = Pointer(Void).null)
SourceClass methods
singleton_ptr
SourceInstance methods
add_logger(logger : Logger) : Void
Sourcealert(text : String, title : String) : Void
Sourceclose_midi_inputs
Sourcecrash(message : String) : Void
Sourcecreate_instance(arguments : Pointer(Void)) : Int64
Sourcecreate_process(path : String, arguments : Pointer(Void), open_console : Bool) : Int64
Sourcedelay_msec(msec : Int64) : Void
Sourcedelay_usec(usec : Int64) : Void
Sourcedelta_smoothing?
Sourceexecute(path : String, arguments : Pointer(Void), output : Godot::Array, read_stderr : Bool, open_console : Bool) : Int64
Sourceexecute_with_pipe(path : String, arguments : Pointer(Void), blocking : Bool) : Pointer(Void)
Sourcefind_keycode_from_string(string : String) : Int64
Sourceget_cache_dir
Sourceget_cmdline_args
Sourceget_cmdline_user_args
Sourceget_config_dir
Sourceget_connected_midi_inputs
Sourceget_data_dir
Sourceget_distribution_name
Sourceget_entropy(size : Int64) : Pointer(Void)
Sourceget_environment(variable : String) : String
Sourceget_executable_path
Sourceget_granted_permissions
Sourceget_keycode_string(code : Int64) : String
Sourceget_locale
Sourceget_locale_language
Sourceget_low_processor_usage_mode_sleep_usec
Sourceget_main_thread_id
Sourceget_memory_info
Sourceget_model_name
Sourceget_name
Sourceget_preferred_locales
Sourceget_process_exit_code(pid : Int64) : Int64
Sourceget_process_id
Sourceget_processor_count
Sourceget_processor_name
Sourceget_restart_on_exit_arguments
Sourceget_static_memory_peak_usage
Sourceget_static_memory_usage
Sourceget_stderr_type
Sourceget_stdin_type
Sourceget_stdout_type
Sourceget_system_ca_certificates
Sourceget_system_font_path(font_name : String, weight : Int64, stretch : Int64, italic : Bool) : String
Sourceget_system_font_path_for_text(font_name : String, text : String, locale : String, script : String, weight : Int64, stretch : Int64, italic : Bool) : Pointer(Void)
Sourceget_system_fonts
Sourceget_temp_dir
Sourceget_thread_caller_id
Sourceget_unique_id
Sourceget_user_data_dir
Sourceget_version
Sourceget_version_alias
Sourceget_video_adapter_driver_info
Sourcehas_environment(variable : String) : Bool
Sourcehas_feature(tag_name : String) : Bool
Sourceis_debug_build
Sourceis_delta_smoothing_enabled
Sourceis_in_low_processor_usage_mode
Sourceis_keycode_unicode(code : Int64) : Bool
Sourceis_process_running(pid : Int64) : Bool
Sourceis_restart_on_exit_set
Sourceis_sandboxed
Sourceis_stdout_verbose
Sourceis_userfs_persistent
Sourcekill(pid : Int64) : Int64
Sourcelow_processor_usage_mode?
Sourcelow_processor_usage_mode_sleep_usec=(val : Int)
Property low_processor_usage_mode_sleep_usec setter
move_to_trash(path : String) : Int64
Sourceopen_midi_inputs
Sourceopen_with_program(program_path : String, paths : Pointer(Void)) : Int64
Sourceread_buffer_from_stdin(buffer_size : Int64) : Pointer(Void)
Sourceread_string_from_stdin(buffer_size : Int64) : String
Sourceremove_logger(logger : Logger) : Void
Sourcerequest_permission(name : String) : Bool
Sourcerequest_permissions
Sourcerevoke_granted_permissions
Sourceset_delta_smoothing(delta_smoothing_enabled : Bool) : Void
Sourceset_environment(variable : String, value : String) : Void
Sourceset_low_processor_usage_mode(enable : Bool) : Void
Sourceset_low_processor_usage_mode_sleep_usec(usec : Int64) : Void
Sourceset_restart_on_exit(restart : Bool, arguments : Pointer(Void)) : Void
Sourceset_thread_name(name : String) : Int64
Sourceset_use_file_access_save_and_swap(enabled : Bool) : Void
Sourceshell_open(uri : String) : Int64
Sourceshell_show_in_file_manager(file_or_dir_path : String, open_folder : Bool) : Int64
Sourceunset_environment(variable : String) : Void
Source