DisplayServer

gdext.classes.DisplayServer
See theDisplayServer companion object
abstract class DisplayServer extends Object

Generated wrapper for Godot's DisplayServer, extends Object.

Attributes

Companion
object
Graph
Supertypes
class Object
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

DisplayServer.accessibility_screen_reader_active

DisplayServer.accessibility_screen_reader_active

Attributes

final def accessibilitySetWindowFocused(window_id: Long, focused: Boolean): Unit

DisplayServer.accessibility_set_window_focused

DisplayServer.accessibility_set_window_focused

Attributes

final def accessibilitySetWindowRect(window_id: Long, rect_out: Rect2, rect_in: Rect2): Unit

DisplayServer.accessibility_set_window_rect

DisplayServer.accessibility_set_window_rect

Attributes

DisplayServer.accessibility_should_increase_contrast

DisplayServer.accessibility_should_increase_contrast

Attributes

DisplayServer.accessibility_should_reduce_animation

DisplayServer.accessibility_should_reduce_animation

Attributes

DisplayServer.accessibility_should_reduce_transparency

DisplayServer.accessibility_should_reduce_transparency

Attributes

final def beep(): Unit

DisplayServer.beep

DisplayServer.beep

Attributes

final def clipboardGet(): String

DisplayServer.clipboard_get

DisplayServer.clipboard_get

Attributes

final def clipboardGetImage(): Image

DisplayServer.clipboard_get_image. Returns an owned reference: release it with unref() or inside Gd.scoped.

DisplayServer.clipboard_get_image. Returns an owned reference: release it with unref() or inside Gd.scoped.

Attributes

final def clipboardGetPrimary(): String

DisplayServer.clipboard_get_primary

DisplayServer.clipboard_get_primary

Attributes

final def clipboardHas(): Boolean

DisplayServer.clipboard_has

DisplayServer.clipboard_has

Attributes

final def clipboardHasImage(): Boolean

DisplayServer.clipboard_has_image

DisplayServer.clipboard_has_image

Attributes

final def clipboardSet(clipboard: String): Unit

DisplayServer.clipboard_set

DisplayServer.clipboard_set

Attributes

final def clipboardSetPrimary(clipboard_primary: String): Unit

DisplayServer.clipboard_set_primary

DisplayServer.clipboard_set_primary

Attributes

final def cursorGetShape(): Long

DisplayServer.cursor_get_shape

DisplayServer.cursor_get_shape

Attributes

final def cursorSetCustomImage(cursor: Resource, shape: Long, hotspot: Vector2): Unit

DisplayServer.cursor_set_custom_image

DisplayServer.cursor_set_custom_image

Attributes

final def cursorSetShape(shape: Long): Unit

DisplayServer.cursor_set_shape

DisplayServer.cursor_set_shape

Attributes

final def deleteStatusIndicator(id: Long): Unit

DisplayServer.delete_status_indicator

DisplayServer.delete_status_indicator

Attributes

final def enableForStealingFocus(process_id: Long): Unit

DisplayServer.enable_for_stealing_focus

DisplayServer.enable_for_stealing_focus

Attributes

final def forceProcessAndDropEvents(): Unit

DisplayServer.force_process_and_drop_events

DisplayServer.force_process_and_drop_events

Attributes

final def getAccentColor(): Color

DisplayServer.get_accent_color

DisplayServer.get_accent_color

Attributes

final def getBaseColor(): Color

DisplayServer.get_base_color

DisplayServer.get_base_color

Attributes

final def getDisplaySafeArea(): Rect2i

DisplayServer.get_display_safe_area

DisplayServer.get_display_safe_area

Attributes

final def getKeyboardFocusScreen(): Long

DisplayServer.get_keyboard_focus_screen

DisplayServer.get_keyboard_focus_screen

Attributes

final def getName(): String

DisplayServer.get_name

DisplayServer.get_name

Attributes

final def getPrimaryScreen(): Long

DisplayServer.get_primary_screen

DisplayServer.get_primary_screen

Attributes

final def getScreenCount(): Long

DisplayServer.get_screen_count

DisplayServer.get_screen_count

Attributes

final def getScreenFromRect(rect: Rect2): Long

DisplayServer.get_screen_from_rect

DisplayServer.get_screen_from_rect

Attributes

final def getSwapCancelOk(): Boolean

DisplayServer.get_swap_cancel_ok

DisplayServer.get_swap_cancel_ok

Attributes

final def getWindowAtScreenPosition(position: Vector2i): Long

DisplayServer.get_window_at_screen_position

DisplayServer.get_window_at_screen_position

Attributes

override def godotClassName: String

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
final def hasAdditionalOutputs(): Boolean

DisplayServer.has_additional_outputs

DisplayServer.has_additional_outputs

Attributes

final def hasFeature(feature: Long): Boolean

DisplayServer.has_feature

DisplayServer.has_feature

Attributes

final def hasHardwareKeyboard(): Boolean

DisplayServer.has_hardware_keyboard

DisplayServer.has_hardware_keyboard

Attributes

final def imeGetSelection(): Vector2i

DisplayServer.ime_get_selection

DisplayServer.ime_get_selection

Attributes

final def imeGetText(): String

DisplayServer.ime_get_text

DisplayServer.ime_get_text

Attributes

final def isDarkMode(): Boolean

DisplayServer.is_dark_mode

DisplayServer.is_dark_mode

Attributes

final def isDarkModeSupported(): Boolean

DisplayServer.is_dark_mode_supported

DisplayServer.is_dark_mode_supported

Attributes

final def isTouchscreenAvailable(): Boolean

DisplayServer.is_touchscreen_available

DisplayServer.is_touchscreen_available

Attributes

final def isWindowTransparencyAvailable(): Boolean

DisplayServer.is_window_transparency_available

DisplayServer.is_window_transparency_available

Attributes

final def keyboardGetCurrentLayout(): Long

DisplayServer.keyboard_get_current_layout

DisplayServer.keyboard_get_current_layout

Attributes

final def keyboardGetKeycodeFromPhysical(keycode: Long): Long

DisplayServer.keyboard_get_keycode_from_physical

DisplayServer.keyboard_get_keycode_from_physical

Attributes

final def keyboardGetLabelFromPhysical(keycode: Long): Long

DisplayServer.keyboard_get_label_from_physical

DisplayServer.keyboard_get_label_from_physical

Attributes

final def keyboardGetLayoutCount(): Long

DisplayServer.keyboard_get_layout_count

DisplayServer.keyboard_get_layout_count

Attributes

final def keyboardGetLayoutLanguage(index: Long): String

DisplayServer.keyboard_get_layout_language

DisplayServer.keyboard_get_layout_language

Attributes

final def keyboardGetLayoutName(index: Long): String

DisplayServer.keyboard_get_layout_name

DisplayServer.keyboard_get_layout_name

Attributes

final def keyboardSetCurrentLayout(index: Long): Unit

DisplayServer.keyboard_set_current_layout

DisplayServer.keyboard_set_current_layout

Attributes

final def mouseGetButtonState(): Long

DisplayServer.mouse_get_button_state

DisplayServer.mouse_get_button_state

Attributes

final def mouseGetMode(): Long

DisplayServer.mouse_get_mode

DisplayServer.mouse_get_mode

Attributes

final def mouseGetPosition(): Vector2i

DisplayServer.mouse_get_position

DisplayServer.mouse_get_position

Attributes

final def mouseSetMode(mouse_mode: Long): Unit

DisplayServer.mouse_set_mode

DisplayServer.mouse_set_mode

Attributes

final def processEvents(): Unit

DisplayServer.process_events

DisplayServer.process_events

Attributes

final def registerAdditionalOutput(`object`: Object): Unit

DisplayServer.register_additional_output

DisplayServer.register_additional_output

Attributes

final def screenGetDpi(screen: Long): Long

DisplayServer.screen_get_dpi

DisplayServer.screen_get_dpi

Attributes

final def screenGetImage(screen: Long): Image

DisplayServer.screen_get_image. Returns an owned reference: release it with unref() or inside Gd.scoped.

DisplayServer.screen_get_image. Returns an owned reference: release it with unref() or inside Gd.scoped.

Attributes

final def screenGetImageRect(rect: Rect2i): Image

DisplayServer.screen_get_image_rect. Returns an owned reference: release it with unref() or inside Gd.scoped.

DisplayServer.screen_get_image_rect. Returns an owned reference: release it with unref() or inside Gd.scoped.

Attributes

final def screenGetMaxScale(): Double

DisplayServer.screen_get_max_scale

DisplayServer.screen_get_max_scale

Attributes

final def screenGetOrientation(screen: Long): Long

DisplayServer.screen_get_orientation

DisplayServer.screen_get_orientation

Attributes

final def screenGetPixel(position: Vector2i): Color

DisplayServer.screen_get_pixel

DisplayServer.screen_get_pixel

Attributes

final def screenGetPosition(screen: Long): Vector2i

DisplayServer.screen_get_position

DisplayServer.screen_get_position

Attributes

final def screenGetRefreshRate(screen: Long): Double

DisplayServer.screen_get_refresh_rate

DisplayServer.screen_get_refresh_rate

Attributes

final def screenGetScale(screen: Long): Double

DisplayServer.screen_get_scale

DisplayServer.screen_get_scale

Attributes

final def screenGetSize(screen: Long): Vector2i

DisplayServer.screen_get_size

DisplayServer.screen_get_size

Attributes

final def screenGetUsableRect(screen: Long): Rect2i

DisplayServer.screen_get_usable_rect

DisplayServer.screen_get_usable_rect

Attributes

final def screenIsKeptOn(): Boolean

DisplayServer.screen_is_kept_on

DisplayServer.screen_is_kept_on

Attributes

final def screenSetKeepOn(enable: Boolean): Unit

DisplayServer.screen_set_keep_on

DisplayServer.screen_set_keep_on

Attributes

final def screenSetOrientation(orientation: Long, screen: Long): Unit

DisplayServer.screen_set_orientation

DisplayServer.screen_set_orientation

Attributes

final def setIcon(image: Image): Unit

DisplayServer.set_icon

DisplayServer.set_icon

Attributes

final def setNativeIcon(filename: String): Unit

DisplayServer.set_native_icon

DisplayServer.set_native_icon

Attributes

final def showEmojiAndSymbolPicker(): Unit

DisplayServer.show_emoji_and_symbol_picker

DisplayServer.show_emoji_and_symbol_picker

Attributes

final def statusIndicatorGetRect(id: Long): Rect2

DisplayServer.status_indicator_get_rect

DisplayServer.status_indicator_get_rect

Attributes

final def statusIndicatorSetIcon(id: Long, icon: Texture2D): Unit

DisplayServer.status_indicator_set_icon

DisplayServer.status_indicator_set_icon

Attributes

final def statusIndicatorSetTooltip(id: Long, tooltip: String): Unit

DisplayServer.status_indicator_set_tooltip

DisplayServer.status_indicator_set_tooltip

Attributes

final def tabletGetCurrentDriver(): String

DisplayServer.tablet_get_current_driver

DisplayServer.tablet_get_current_driver

Attributes

final def tabletGetDriverCount(): Long

DisplayServer.tablet_get_driver_count

DisplayServer.tablet_get_driver_count

Attributes

final def tabletGetDriverName(idx: Long): String

DisplayServer.tablet_get_driver_name

DisplayServer.tablet_get_driver_name

Attributes

final def tabletSetCurrentDriver(name: String): Unit

DisplayServer.tablet_set_current_driver

DisplayServer.tablet_set_current_driver

Attributes

final def ttsIsPaused(): Boolean

DisplayServer.tts_is_paused

DisplayServer.tts_is_paused

Attributes

final def ttsIsSpeaking(): Boolean

DisplayServer.tts_is_speaking

DisplayServer.tts_is_speaking

Attributes

final def ttsPause(): Unit

DisplayServer.tts_pause

DisplayServer.tts_pause

Attributes

final def ttsResume(): Unit

DisplayServer.tts_resume

DisplayServer.tts_resume

Attributes

final def ttsStop(): Unit

DisplayServer.tts_stop

DisplayServer.tts_stop

Attributes

final def unregisterAdditionalOutput(`object`: Object): Unit

DisplayServer.unregister_additional_output

DisplayServer.unregister_additional_output

Attributes

final def virtualKeyboardGetHeight(): Long

DisplayServer.virtual_keyboard_get_height

DisplayServer.virtual_keyboard_get_height

Attributes

final def virtualKeyboardHide(): Unit

DisplayServer.virtual_keyboard_hide

DisplayServer.virtual_keyboard_hide

Attributes

final def virtualKeyboardShow(existing_text: String, position: Rect2, `type`: Long, max_length: Long, cursor_start: Long, cursor_end: Long): Unit

DisplayServer.virtual_keyboard_show

DisplayServer.virtual_keyboard_show

Attributes

final def warpMouse(position: Vector2i): Unit

DisplayServer.warp_mouse

DisplayServer.warp_mouse

Attributes

final def windowCanDraw(window_id: Long): Boolean

DisplayServer.window_can_draw

DisplayServer.window_can_draw

Attributes

final def windowGetActivePopup(): Long

DisplayServer.window_get_active_popup

DisplayServer.window_get_active_popup

Attributes

final def windowGetAttachedInstanceId(window_id: Long): Long

DisplayServer.window_get_attached_instance_id

DisplayServer.window_get_attached_instance_id

Attributes

final def windowGetCurrentScreen(window_id: Long): Long

DisplayServer.window_get_current_screen

DisplayServer.window_get_current_screen

Attributes

final def windowGetFlag(flag: Long, window_id: Long): Boolean

DisplayServer.window_get_flag

DisplayServer.window_get_flag

Attributes

final def windowGetMaxSize(window_id: Long): Vector2i

DisplayServer.window_get_max_size

DisplayServer.window_get_max_size

Attributes

final def windowGetMinSize(window_id: Long): Vector2i

DisplayServer.window_get_min_size

DisplayServer.window_get_min_size

Attributes

final def windowGetMode(window_id: Long): Long

DisplayServer.window_get_mode

DisplayServer.window_get_mode

Attributes

final def windowGetNativeHandle(handle_type: Long, window_id: Long): Long

DisplayServer.window_get_native_handle

DisplayServer.window_get_native_handle

Attributes

final def windowGetPopupSafeRect(window: Long): Rect2i

DisplayServer.window_get_popup_safe_rect

DisplayServer.window_get_popup_safe_rect

Attributes

final def windowGetPosition(window_id: Long): Vector2i

DisplayServer.window_get_position

DisplayServer.window_get_position

Attributes

final def windowGetPositionWithDecorations(window_id: Long): Vector2i

DisplayServer.window_get_position_with_decorations

DisplayServer.window_get_position_with_decorations

Attributes

final def windowGetSafeTitleMargins(window_id: Long): Vector3i

DisplayServer.window_get_safe_title_margins

DisplayServer.window_get_safe_title_margins

Attributes

final def windowGetSize(window_id: Long): Vector2i

DisplayServer.window_get_size

DisplayServer.window_get_size

Attributes

final def windowGetSizeWithDecorations(window_id: Long): Vector2i

DisplayServer.window_get_size_with_decorations

DisplayServer.window_get_size_with_decorations

Attributes

final def windowGetTitleSize(title: String, window_id: Long): Vector2i

DisplayServer.window_get_title_size

DisplayServer.window_get_title_size

Attributes

final def windowGetVsyncMode(window_id: Long): Long

DisplayServer.window_get_vsync_mode

DisplayServer.window_get_vsync_mode

Attributes

final def windowIsFocused(window_id: Long): Boolean

DisplayServer.window_is_focused

DisplayServer.window_is_focused

Attributes

final def windowIsMaximizeAllowed(window_id: Long): Boolean

DisplayServer.window_is_maximize_allowed

DisplayServer.window_is_maximize_allowed

Attributes

final def windowMaximizeOnTitleDblClick(): Boolean

DisplayServer.window_maximize_on_title_dbl_click

DisplayServer.window_maximize_on_title_dbl_click

Attributes

final def windowMinimizeOnTitleDblClick(): Boolean

DisplayServer.window_minimize_on_title_dbl_click

DisplayServer.window_minimize_on_title_dbl_click

Attributes

final def windowMoveToForeground(window_id: Long): Unit

DisplayServer.window_move_to_foreground

DisplayServer.window_move_to_foreground

Attributes

final def windowRequestAttention(window_id: Long): Unit

DisplayServer.window_request_attention

DisplayServer.window_request_attention

Attributes

final def windowSetColor(color: Color): Unit

DisplayServer.window_set_color

DisplayServer.window_set_color

Attributes

final def windowSetCurrentScreen(screen: Long, window_id: Long): Unit

DisplayServer.window_set_current_screen

DisplayServer.window_set_current_screen

Attributes

final def windowSetExclusive(window_id: Long, exclusive: Boolean): Unit

DisplayServer.window_set_exclusive

DisplayServer.window_set_exclusive

Attributes

final def windowSetFlag(flag: Long, enabled: Boolean, window_id: Long): Unit

DisplayServer.window_set_flag

DisplayServer.window_set_flag

Attributes

final def windowSetImeActive(active: Boolean, window_id: Long): Unit

DisplayServer.window_set_ime_active

DisplayServer.window_set_ime_active

Attributes

final def windowSetImePosition(position: Vector2i, window_id: Long): Unit

DisplayServer.window_set_ime_position

DisplayServer.window_set_ime_position

Attributes

final def windowSetMaxSize(max_size: Vector2i, window_id: Long): Unit

DisplayServer.window_set_max_size

DisplayServer.window_set_max_size

Attributes

final def windowSetMinSize(min_size: Vector2i, window_id: Long): Unit

DisplayServer.window_set_min_size

DisplayServer.window_set_min_size

Attributes

final def windowSetMode(mode: Long, window_id: Long): Unit

DisplayServer.window_set_mode

DisplayServer.window_set_mode

Attributes

final def windowSetPopupSafeRect(window: Long, rect: Rect2i): Unit

DisplayServer.window_set_popup_safe_rect

DisplayServer.window_set_popup_safe_rect

Attributes

final def windowSetPosition(position: Vector2i, window_id: Long): Unit

DisplayServer.window_set_position

DisplayServer.window_set_position

Attributes

final def windowSetSize(size: Vector2i, window_id: Long): Unit

DisplayServer.window_set_size

DisplayServer.window_set_size

Attributes

final def windowSetTitle(title: String, window_id: Long): Unit

DisplayServer.window_set_title

DisplayServer.window_set_title

Attributes

final def windowSetTransient(window_id: Long, parent_window_id: Long): Unit

DisplayServer.window_set_transient

DisplayServer.window_set_transient

Attributes

final def windowSetVsyncMode(vsync_mode: Long, window_id: Long): Unit

DisplayServer.window_set_vsync_mode

DisplayServer.window_set_vsync_mode

Attributes

final def windowSetWindowButtonsOffset(offset: Vector2i, window_id: Long): Unit

DisplayServer.window_set_window_buttons_offset

DisplayServer.window_set_window_buttons_offset

Attributes

final def windowStartDrag(window_id: Long): Unit

DisplayServer.window_start_drag

DisplayServer.window_start_drag

Attributes

final def windowStartResize(edge: Long, window_id: Long): Unit

DisplayServer.window_start_resize

DisplayServer.window_start_resize

Attributes

Inherited methods

def _can_handle(obj: GodotObject): Boolean

EditorInspectorPlugin: can this plugin handle obj's inspector?

EditorInspectorPlugin: can this plugin handle obj's inspector?

Attributes

Inherited from:
GodotScriptClass
def _enter_tree(): Unit

EditorPlugin/Node: entered the (editor) tree.

EditorPlugin/Node: entered the (editor) tree.

Attributes

Inherited from:
GodotScriptClass
def _exit_tree(): Unit

EditorPlugin/Node: leaving the (editor) tree.

EditorPlugin/Node: leaving the (editor) tree.

Attributes

Inherited from:
GodotScriptClass
def _input(event: InputEvent): Unit

Called for every unhandled-or-not input event (Node._input).

Called for every unhandled-or-not input event (Node._input).

Attributes

Inherited from:
GodotScriptClass
def _parse_property(obj: GodotObject, varType: Long, name: String, hintType: Long, hintString: String, usage: Long, wide: Boolean): Boolean

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
def _physics_process(delta: Double): Unit

Called every physics frame; delta is the fixed physics step.

Called every physics frame; delta is the fixed physics step.

Attributes

Inherited from:
GodotScriptClass
def _process(delta: Double): Unit

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
def _ready(): Unit

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
def _shortcut_input(event: InputEvent): Unit

Called for shortcut input before _unhandled_input (Node._shortcut_input).

Called for shortcut input before _unhandled_input (Node._shortcut_input).

Attributes

Inherited from:
GodotScriptClass
def _unhandled_input(event: InputEvent): Unit

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
def _unhandled_key_input(event: InputEvent): Unit

Called for unhandled key input (Node._unhandled_key_input).

Called for unhandled key input (Node._unhandled_key_input).

Attributes

Inherited from:
GodotScriptClass
def _update_property(): Unit

EditorProperty: refresh the widget from the edited property's value.

EditorProperty: refresh the widget from the edited property's value.

Attributes

Inherited from:
GodotScriptClass
final def canTranslateMessages(): Boolean

Object.can_translate_messages

Object.can_translate_messages

Attributes

Inherited from:
Object
final def cancelFree(): Unit

Object.cancel_free

Object.cancel_free

Attributes

Inherited from:
Object
def cast[U <: GodotScriptClass](using meta: ClassMeta[U]): U

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
def free(): Unit

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
final def getInstanceId(): Long

Object.get_instance_id

Object.get_instance_id

Attributes

Inherited from:
Object
final def getMethodArgumentCount(method: StringName): Long

Object.get_method_argument_count

Object.get_method_argument_count

Attributes

Inherited from:
Object

Object.get_translation_domain

Object.get_translation_domain

Attributes

Inherited from:
Object
final def hasConnections(signal: StringName): Boolean

Object.has_connections

Object.has_connections

Attributes

Inherited from:
Object
final def hasMeta(name: StringName): Boolean

Object.has_meta

Object.has_meta

Attributes

Inherited from:
Object
final def hasMethod(method: StringName): Boolean

Object.has_method

Object.has_method

Attributes

Inherited from:
Object
final def hasSignal(signal: StringName): Boolean

Object.has_signal

Object.has_signal

Attributes

Inherited from:
Object
final def hasUserSignal(signal: StringName): Boolean

Object.has_user_signal

Object.has_user_signal

Attributes

Inherited from:
Object
final def hostObject: GodotObject

The engine-side object handle for this instance.

The engine-side object handle for this instance.

Attributes

Inherited from:
GodotScriptClass
final def instanceId: InstanceId

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
final def isBlockingSignals(): Boolean

Object.is_blocking_signals

Object.is_blocking_signals

Attributes

Inherited from:
Object
final def isClass(`class`: String): Boolean

Object.is_class

Object.is_class

Attributes

Inherited from:
Object
final def isQueuedForDeletion(): Boolean

Object.is_queued_for_deletion

Object.is_queued_for_deletion

Attributes

Inherited from:
Object
final def isRefCounted: Boolean

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
def keep(): this.type

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
final def notification(what: Long, reversed: Boolean): Unit

Object.notification

Object.notification

Attributes

Inherited from:
Object
final def notifyPropertyListChanged(): Unit

Object.notify_property_list_changed

Object.notify_property_list_changed

Attributes

Inherited from:
Object
final def propertyCanRevert(property: StringName): Boolean

Object.property_can_revert

Object.property_can_revert

Attributes

Inherited from:
Object
def refInc(): this.type

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
final def removeMeta(name: StringName): Unit

Object.remove_meta

Object.remove_meta

Attributes

Inherited from:
Object
final def removeUserSignal(signal: StringName): Unit

Object.remove_user_signal

Object.remove_user_signal

Attributes

Inherited from:
Object
final def setBlockSignals(enable: Boolean): Unit

Object.set_block_signals

Object.set_block_signals

Attributes

Inherited from:
Object
final def setMessageTranslation(enable: Boolean): Unit

Object.set_message_translation

Object.set_message_translation

Attributes

Inherited from:
Object
final def setTranslationDomain(domain: StringName): Unit

Object.set_translation_domain

Object.set_translation_domain

Attributes

Inherited from:
Object
final def tr(message: StringName, context: StringName): String

Object.tr

Object.tr

Attributes

Inherited from:
Object
final def trN(message: StringName, plural_message: StringName, n: Long, context: StringName): String

Object.tr_n

Object.tr_n

Attributes

Inherited from:
Object
def unref(): Unit

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
final def withHost(o: GDExtensionObjectPtr): this.type

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