Generated wrapper for Godot's OS, extends Object.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
OS.alert
OS.alert
Attributes
OS.close_midi_inputs
OS.close_midi_inputs
Attributes
OS.crash
OS.crash
Attributes
OS.delay_msec
OS.delay_msec
Attributes
OS.delay_usec
OS.delay_usec
Attributes
OS.find_keycode_from_string
OS.find_keycode_from_string
Attributes
OS.get_cache_dir
OS.get_cache_dir
Attributes
OS.get_config_dir
OS.get_config_dir
Attributes
OS.get_data_dir
OS.get_data_dir
Attributes
OS.get_distribution_name
OS.get_distribution_name
Attributes
OS.get_environment
OS.get_environment
Attributes
OS.get_executable_path
OS.get_executable_path
Attributes
OS.get_keycode_string
OS.get_keycode_string
Attributes
OS.get_locale
OS.get_locale
Attributes
OS.get_locale_language
OS.get_locale_language
Attributes
OS.get_low_processor_usage_mode_sleep_usec
OS.get_low_processor_usage_mode_sleep_usec
Attributes
OS.get_main_thread_id
OS.get_main_thread_id
Attributes
OS.get_model_name
OS.get_model_name
Attributes
OS.get_name
OS.get_name
Attributes
OS.get_process_exit_code
OS.get_process_exit_code
Attributes
OS.get_process_id
OS.get_process_id
Attributes
OS.get_processor_count
OS.get_processor_count
Attributes
OS.get_processor_name
OS.get_processor_name
Attributes
OS.get_static_memory_peak_usage
OS.get_static_memory_peak_usage
Attributes
OS.get_static_memory_usage
OS.get_static_memory_usage
Attributes
OS.get_stderr_type
OS.get_stderr_type
Attributes
OS.get_stdin_type
OS.get_stdin_type
Attributes
OS.get_stdout_type
OS.get_stdout_type
Attributes
OS.get_system_ca_certificates
OS.get_system_ca_certificates
Attributes
OS.get_system_dir
OS.get_system_dir
Attributes
OS.get_system_font_path
OS.get_system_font_path
Attributes
OS.get_temp_dir
OS.get_temp_dir
Attributes
OS.get_thread_caller_id
OS.get_thread_caller_id
Attributes
OS.get_unique_id
OS.get_unique_id
Attributes
OS.get_user_data_dir
OS.get_user_data_dir
Attributes
OS.get_version
OS.get_version
Attributes
OS.get_version_alias
OS.get_version_alias
Attributes
The Godot class name for this instance. Engine wrappers override with the baked literal; user classes fall back to their Scala simple name (which is how registration names them).
The Godot class name for this instance. Engine wrappers override with the baked literal; user classes fall back to their Scala simple name (which is how registration names them).
Attributes
- Definition Classes
OS.has_environment
OS.has_environment
Attributes
OS.has_feature
OS.has_feature
Attributes
OS.is_debug_build
OS.is_debug_build
Attributes
OS.is_delta_smoothing_enabled
OS.is_delta_smoothing_enabled
Attributes
OS.is_in_low_processor_usage_mode
OS.is_in_low_processor_usage_mode
Attributes
OS.is_keycode_unicode
OS.is_keycode_unicode
Attributes
OS.is_process_running
OS.is_process_running
Attributes
OS.is_restart_on_exit_set
OS.is_restart_on_exit_set
Attributes
OS.is_sandboxed
OS.is_sandboxed
Attributes
OS.is_stdout_verbose
OS.is_stdout_verbose
Attributes
OS.is_userfs_persistent
OS.is_userfs_persistent
Attributes
OS.kill
OS.kill
Attributes
OS.move_to_trash
OS.move_to_trash
Attributes
OS.open_midi_inputs
OS.open_midi_inputs
Attributes
OS.read_string_from_stdin
OS.read_string_from_stdin
Attributes
OS.remove_logger
OS.remove_logger
Attributes
OS.request_permission
OS.request_permission
Attributes
OS.request_permissions
OS.request_permissions
Attributes
OS.revoke_granted_permissions
OS.revoke_granted_permissions
Attributes
OS.set_delta_smoothing
OS.set_delta_smoothing
Attributes
OS.set_environment
OS.set_environment
Attributes
OS.set_low_processor_usage_mode
OS.set_low_processor_usage_mode
Attributes
OS.set_low_processor_usage_mode_sleep_usec
OS.set_low_processor_usage_mode_sleep_usec
Attributes
OS.set_thread_name
OS.set_thread_name
Attributes
OS.set_use_file_access_save_and_swap
OS.set_use_file_access_save_and_swap
Attributes
OS.shell_open
OS.shell_open
Attributes
OS.shell_show_in_file_manager
OS.shell_show_in_file_manager
Attributes
OS.unset_environment
OS.unset_environment
Attributes
Inherited methods
EditorInspectorPlugin: can this plugin handle obj's inspector?
EditorInspectorPlugin: can this plugin handle obj's inspector?
Attributes
- Inherited from:
- GodotScriptClass
EditorPlugin/Node: entered the (editor) tree.
EditorPlugin/Node: leaving the (editor) tree.
Called for every unhandled-or-not input event (Node._input).
Called for every unhandled-or-not input event (Node._input).
Attributes
- Inherited from:
- GodotScriptClass
EditorInspectorPlugin: inspect one property. Return true to take it over (after calling addPropertyEditor), false to let the default editor render.
EditorInspectorPlugin: inspect one property. Return true to take it over (after calling addPropertyEditor), false to let the default editor render.
Attributes
- Inherited from:
- GodotScriptClass
Called every physics frame; delta is the fixed physics step.
Called every physics frame; delta is the fixed physics step.
Attributes
- Inherited from:
- GodotScriptClass
Called every rendered frame; delta is seconds since the last frame.
Called every rendered frame; delta is seconds since the last frame.
Attributes
- Inherited from:
- GodotScriptClass
Called when the node enters the scene tree and is ready.
Called when the node enters the scene tree and is ready.
Attributes
- Inherited from:
- GodotScriptClass
Called for shortcut input before _unhandled_input (Node._shortcut_input).
Called for shortcut input before _unhandled_input (Node._shortcut_input).
Attributes
- Inherited from:
- GodotScriptClass
Called for input not consumed by the UI (Node._unhandled_input).
Called for input not consumed by the UI (Node._unhandled_input).
Attributes
- Inherited from:
- GodotScriptClass
Called for unhandled key input (Node._unhandled_key_input).
Called for unhandled key input (Node._unhandled_key_input).
Attributes
- Inherited from:
- GodotScriptClass
EditorProperty: refresh the widget from the edited property's value.
EditorProperty: refresh the widget from the edited property's value.
Attributes
- Inherited from:
- GodotScriptClass
Object.can_translate_messages
Object.cancel_free
Cast to a (super- or sub-) class U. Returns null if the object is not actually a U. Uses object_cast_to with U's class tag — a real engine type check, not a Scala cast.
Cast to a (super- or sub-) class U. Returns null if the object is not actually a U. Uses object_cast_to with U's class tag — a real engine type check, not a Scala cast.
Attributes
- Inherited from:
- GodotScriptClass
Free a manually-managed object via object_destroy. No-op for reference-counted objects — use unref for those. The wrapper is dead afterwards: calling an engine method on it throws.
Free a manually-managed object via object_destroy. No-op for reference-counted objects — use unref for those. The wrapper is dead afterwards: calling an engine method on it throws.
Attributes
- Inherited from:
- GodotScriptClass
Object.get_instance_id
Object.get_method_argument_count
Object.get_translation_domain
Object.has_connections
Object.has_meta
Object.has_method
Object.has_signal
Object.has_user_signal
The engine-side object handle for this instance.
This object's stable Godot InstanceId (the null sentinel if unbound). Mirrors Object.get_instance_id, but typed — pass it to APIs that key off a node's identity.
This object's stable Godot InstanceId (the null sentinel if unbound). Mirrors Object.get_instance_id, but typed — pass it to APIs that key off a node's identity.
Attributes
- Inherited from:
- GodotScriptClass
Object.is_blocking_signals
Object.is_class
Object.is_queued_for_deletion
True if this object is reference-counted (RefCounted subtree, e.g. a Resource) vs manually-managed (Object/Node subtree). Drives the lifetime methods below.
True if this object is reference-counted (RefCounted subtree, e.g. a Resource) vs manually-managed (Object/Node subtree). Drives the lifetime methods below.
Attributes
- Inherited from:
- GodotScriptClass
Keep a reference adopted inside Gd.scoped past the end of the block: the caller now owns it and releases it with unref. Returns this.
Keep a reference adopted inside Gd.scoped past the end of the block: the caller now owns it and releases it with unref. Returns this.
Attributes
- Inherited from:
- GodotScriptClass
Object.notification
Object.notify_property_list_changed
Object.property_can_revert
Take one more reference on a reference-counted object, owned by this wrapper until a matching unref. No-op for manually-managed objects (nodes). Returns this. (Named refInc rather than reference to avoid clashing with the generated RefCounted.reference(): Boolean method.)
Take one more reference on a reference-counted object, owned by this wrapper until a matching unref. No-op for manually-managed objects (nodes). Returns this. (Named refInc rather than reference to avoid clashing with the generated RefCounted.reference(): Boolean method.)
Attributes
- Inherited from:
- GodotScriptClass
Object.remove_meta
Object.remove_user_signal
Object.set_block_signals
Object.set_message_translation
Object.set_translation_domain
Object.tr
Object.tr_n
Release one reference this wrapper owns (an engine Ref<T> return, Gd.create, or refInc), destroying the object if it was the last reference. Does nothing when the wrapper owns no reference, so a borrowed object can never be freed from under the engine.
Release one reference this wrapper owns (an engine Ref<T> return, Gd.create, or refInc), destroying the object if it was the last reference. Does nothing when the wrapper owns no reference, so a borrowed object can never be freed from under the engine.
Attributes
- Inherited from:
- GodotScriptClass
Set the handle and return this (fluent, for wrapping fetched objects).
Set the handle and return this (fluent, for wrapping fetched objects).
Attributes
- Inherited from:
- GodotScriptClass