OS

Inherits: Object

There is currently no description for this class. Please help us by contributing one!

Properties

bool

delta_smoothing

true

bool

low_processor_usage_mode

false

int

low_processor_usage_mode_sleep_usec

6900

Methods

void

alert ( String text, String title=”Alert!” )

void

close_midi_inputs ( )

void

crash ( String message )

int

create_instance ( PackedStringArray arguments )

int

create_process ( String path, PackedStringArray arguments, bool open_console=false )

void

delay_msec ( int msec ) const

void

delay_usec ( int usec ) const

int

execute ( String path, PackedStringArray arguments, Array output=[], bool read_stderr=false, bool open_console=false )

Dictionary

execute_with_pipe ( String path, PackedStringArray arguments )

Key

find_keycode_from_string ( String string ) const

String

get_cache_dir ( ) const

PackedStringArray

get_cmdline_args ( )

PackedStringArray

get_cmdline_user_args ( )

String

get_config_dir ( ) const

PackedStringArray

get_connected_midi_inputs ( )

String

get_data_dir ( ) const

String

get_distribution_name ( ) const

PackedByteArray

get_entropy ( int size )

String

get_environment ( String variable ) const

String

get_executable_path ( ) const

PackedStringArray

get_granted_permissions ( ) const

String

get_keycode_string ( Key code ) const

String

get_locale ( ) const

String

get_locale_language ( ) const

int

get_main_thread_id ( ) const

Dictionary

get_memory_info ( ) const

String

get_model_name ( ) const

String

get_name ( ) const

int

get_process_exit_code ( int pid ) const

int

get_process_id ( ) const

int

get_processor_count ( ) const

String

get_processor_name ( ) const

PackedStringArray

get_restart_on_exit_arguments ( ) const

int

get_static_memory_peak_usage ( ) const

int

get_static_memory_usage ( ) const

String

get_system_ca_certificates ( )

String

get_system_dir ( SystemDir dir, bool shared_storage=true ) const

String

get_system_font_path ( String font_name, int weight=400, int stretch=100, bool italic=false ) const

PackedStringArray

get_system_font_path_for_text ( String font_name, String text, String locale=””, String script=””, int weight=400, int stretch=100, bool italic=false ) const

PackedStringArray

get_system_fonts ( ) const

int

get_thread_caller_id ( ) const

String

get_unique_id ( ) const

String

get_user_data_dir ( ) const

String

get_version ( ) const

PackedStringArray

get_video_adapter_driver_info ( ) const

bool

has_environment ( String variable ) const

bool

has_feature ( String tag_name ) const

bool

is_debug_build ( ) const

bool

is_keycode_unicode ( int code ) const

bool

is_process_running ( int pid ) const

bool

is_restart_on_exit_set ( ) const

bool

is_sandboxed ( ) const

bool

is_stdout_verbose ( ) const

bool

is_userfs_persistent ( ) const

Error

kill ( int pid )

Error

move_to_trash ( String path ) const

void

open_midi_inputs ( )

String

read_string_from_stdin ( )

bool

request_permission ( String name )

bool

request_permissions ( )

void

revoke_granted_permissions ( )

void

set_environment ( String variable, String value ) const

void

set_restart_on_exit ( bool restart, PackedStringArray arguments=PackedStringArray() )

Error

set_thread_name ( String name )

void

set_use_file_access_save_and_swap ( bool enabled )

Error

shell_open ( String uri )

Error

shell_show_in_file_manager ( String file_or_dir_path, bool open_folder=true )

void

unset_environment ( String variable ) const


Enumerations

enum RenderingDriver:

RenderingDriver RENDERING_DRIVER_VULKAN = 0

There is currently no description for this enum. Please help us by contributing one!

RenderingDriver RENDERING_DRIVER_OPENGL3 = 1

There is currently no description for this enum. Please help us by contributing one!

RenderingDriver RENDERING_DRIVER_D3D12 = 2

There is currently no description for this enum. Please help us by contributing one!


enum SystemDir:

SystemDir SYSTEM_DIR_DESKTOP = 0

There is currently no description for this enum. Please help us by contributing one!

SystemDir SYSTEM_DIR_DCIM = 1

There is currently no description for this enum. Please help us by contributing one!

SystemDir SYSTEM_DIR_DOCUMENTS = 2

There is currently no description for this enum. Please help us by contributing one!

SystemDir SYSTEM_DIR_DOWNLOADS = 3

There is currently no description for this enum. Please help us by contributing one!

SystemDir SYSTEM_DIR_MOVIES = 4

There is currently no description for this enum. Please help us by contributing one!

SystemDir SYSTEM_DIR_MUSIC = 5

There is currently no description for this enum. Please help us by contributing one!

SystemDir SYSTEM_DIR_PICTURES = 6

There is currently no description for this enum. Please help us by contributing one!

SystemDir SYSTEM_DIR_RINGTONES = 7

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

bool delta_smoothing = true

  • void set_delta_smoothing ( bool value )

  • bool is_delta_smoothing_enabled ( )

There is currently no description for this property. Please help us by contributing one!


bool low_processor_usage_mode = false

  • void set_low_processor_usage_mode ( bool value )

  • bool is_in_low_processor_usage_mode ( )

There is currently no description for this property. Please help us by contributing one!


int low_processor_usage_mode_sleep_usec = 6900

  • void set_low_processor_usage_mode_sleep_usec ( int value )

  • int get_low_processor_usage_mode_sleep_usec ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void alert ( String text, String title=”Alert!” )

There is currently no description for this method. Please help us by contributing one!


void close_midi_inputs ( )

There is currently no description for this method. Please help us by contributing one!


void crash ( String message )

There is currently no description for this method. Please help us by contributing one!


int create_instance ( PackedStringArray arguments )

There is currently no description for this method. Please help us by contributing one!


int create_process ( String path, PackedStringArray arguments, bool open_console=false )

There is currently no description for this method. Please help us by contributing one!


void delay_msec ( int msec ) const

There is currently no description for this method. Please help us by contributing one!


void delay_usec ( int usec ) const

There is currently no description for this method. Please help us by contributing one!


int execute ( String path, PackedStringArray arguments, Array output=[], bool read_stderr=false, bool open_console=false )

There is currently no description for this method. Please help us by contributing one!


Dictionary execute_with_pipe ( String path, PackedStringArray arguments )

There is currently no description for this method. Please help us by contributing one!


Key find_keycode_from_string ( String string ) const

There is currently no description for this method. Please help us by contributing one!


String get_cache_dir ( ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_cmdline_args ( )

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_cmdline_user_args ( )

There is currently no description for this method. Please help us by contributing one!


String get_config_dir ( ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_connected_midi_inputs ( )

There is currently no description for this method. Please help us by contributing one!


String get_data_dir ( ) const

There is currently no description for this method. Please help us by contributing one!


String get_distribution_name ( ) const

There is currently no description for this method. Please help us by contributing one!


PackedByteArray get_entropy ( int size )

There is currently no description for this method. Please help us by contributing one!


String get_environment ( String variable ) const

There is currently no description for this method. Please help us by contributing one!


String get_executable_path ( ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_granted_permissions ( ) const

There is currently no description for this method. Please help us by contributing one!


String get_keycode_string ( Key code ) const

There is currently no description for this method. Please help us by contributing one!


String get_locale ( ) const

There is currently no description for this method. Please help us by contributing one!


String get_locale_language ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_main_thread_id ( ) const

There is currently no description for this method. Please help us by contributing one!


Dictionary get_memory_info ( ) const

There is currently no description for this method. Please help us by contributing one!


String get_model_name ( ) const

There is currently no description for this method. Please help us by contributing one!


String get_name ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_process_exit_code ( int pid ) const

There is currently no description for this method. Please help us by contributing one!


int get_process_id ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_processor_count ( ) const

There is currently no description for this method. Please help us by contributing one!


String get_processor_name ( ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_restart_on_exit_arguments ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_static_memory_peak_usage ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_static_memory_usage ( ) const

There is currently no description for this method. Please help us by contributing one!


String get_system_ca_certificates ( )

There is currently no description for this method. Please help us by contributing one!


String get_system_dir ( SystemDir dir, bool shared_storage=true ) const

There is currently no description for this method. Please help us by contributing one!


String get_system_font_path ( String font_name, int weight=400, int stretch=100, bool italic=false ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_system_font_path_for_text ( String font_name, String text, String locale=””, String script=””, int weight=400, int stretch=100, bool italic=false ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_system_fonts ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_thread_caller_id ( ) const

There is currently no description for this method. Please help us by contributing one!


String get_unique_id ( ) const

There is currently no description for this method. Please help us by contributing one!


String get_user_data_dir ( ) const

There is currently no description for this method. Please help us by contributing one!


String get_version ( ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_video_adapter_driver_info ( ) const

There is currently no description for this method. Please help us by contributing one!


bool has_environment ( String variable ) const

There is currently no description for this method. Please help us by contributing one!


bool has_feature ( String tag_name ) const

There is currently no description for this method. Please help us by contributing one!


bool is_debug_build ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_keycode_unicode ( int code ) const

There is currently no description for this method. Please help us by contributing one!


bool is_process_running ( int pid ) const

There is currently no description for this method. Please help us by contributing one!


bool is_restart_on_exit_set ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_sandboxed ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_stdout_verbose ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_userfs_persistent ( ) const

There is currently no description for this method. Please help us by contributing one!


Error kill ( int pid )

There is currently no description for this method. Please help us by contributing one!


Error move_to_trash ( String path ) const

There is currently no description for this method. Please help us by contributing one!


void open_midi_inputs ( )

There is currently no description for this method. Please help us by contributing one!


String read_string_from_stdin ( )

There is currently no description for this method. Please help us by contributing one!


bool request_permission ( String name )

There is currently no description for this method. Please help us by contributing one!


bool request_permissions ( )

There is currently no description for this method. Please help us by contributing one!


void revoke_granted_permissions ( )

There is currently no description for this method. Please help us by contributing one!


void set_environment ( String variable, String value ) const

There is currently no description for this method. Please help us by contributing one!


void set_restart_on_exit ( bool restart, PackedStringArray arguments=PackedStringArray() )

There is currently no description for this method. Please help us by contributing one!


Error set_thread_name ( String name )

There is currently no description for this method. Please help us by contributing one!


void set_use_file_access_save_and_swap ( bool enabled )

There is currently no description for this method. Please help us by contributing one!


Error shell_open ( String uri )

There is currently no description for this method. Please help us by contributing one!


Error shell_show_in_file_manager ( String file_or_dir_path, bool open_folder=true )

There is currently no description for this method. Please help us by contributing one!


void unset_environment ( String variable ) const

There is currently no description for this method. Please help us by contributing one!