Path2D

gdext.classes.Path2D
See thePath2D companion object
abstract class Path2D extends Node2D

Generated wrapper for Godot's Path2D, extends Node2D.

Attributes

Companion
object
Graph
Supertypes
class Node2D
class CanvasItem
class Node
class Object
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

final def getCurve(): Curve2D

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

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

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 setCurve(curve: Curve2D): Unit

Path2D.set_curve

Path2D.set_curve

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 addChild(node: Node, force_readable_name: Boolean, internal: Long): Unit

Node.add_child

Node.add_child

Attributes

Inherited from:
Node
final def addSibling(sibling: Node, force_readable_name: Boolean): Unit

Node.add_sibling

Node.add_sibling

Attributes

Inherited from:
Node
final def addToGroup(group: StringName, persistent: Boolean): Unit

Node.add_to_group

Node.add_to_group

Attributes

Inherited from:
Node
final def applyScale(ratio: Vector2): Unit

Node2D.apply_scale

Node2D.apply_scale

Attributes

Inherited from:
Node2D
final def atr(message: String, context: StringName): String

Node.atr

Node.atr

Attributes

Inherited from:
Node
final def atrN(message: String, plural_message: StringName, n: Long, context: StringName): String

Node.atr_n

Node.atr_n

Attributes

Inherited from:
Node
final def canAutoTranslate(): Boolean

Node.can_auto_translate

Node.can_auto_translate

Attributes

Inherited from:
Node
final def canProcess(): Boolean

Node.can_process

Node.can_process

Attributes

Inherited from:
Node
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
final def createTween(): Tween

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

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

Attributes

Inherited from:
Node
final def drawAnimationSlice(animation_length: Double, slice_begin: Double, slice_end: Double, offset: Double): Unit

CanvasItem.draw_animation_slice

CanvasItem.draw_animation_slice

Attributes

Inherited from:
CanvasItem
final def drawChar(font: Font, pos: Vector2, char: String, font_size: Long, modulate: Color, oversampling: Double): Unit

CanvasItem.draw_char

CanvasItem.draw_char

Attributes

Inherited from:
CanvasItem
final def drawCircle(position: Vector2, radius: Double, color: Color, filled: Boolean, width: Double, antialiased: Boolean): Unit

CanvasItem.draw_circle

CanvasItem.draw_circle

Attributes

Inherited from:
CanvasItem
final def drawEndAnimation(): Unit

CanvasItem.draw_end_animation

CanvasItem.draw_end_animation

Attributes

Inherited from:
CanvasItem
final def drawLcdTextureRectRegion(texture: Texture2D, rect: Rect2, src_rect: Rect2, modulate: Color): Unit

CanvasItem.draw_lcd_texture_rect_region

CanvasItem.draw_lcd_texture_rect_region

Attributes

Inherited from:
CanvasItem
final def drawLine(from: Vector2, to: Vector2, color: Color, width: Double, antialiased: Boolean): Unit

CanvasItem.draw_line

CanvasItem.draw_line

Attributes

Inherited from:
CanvasItem
final def drawMesh(mesh: Mesh, texture: Texture2D, transform: Transform2D, modulate: Color): Unit

CanvasItem.draw_mesh

CanvasItem.draw_mesh

Attributes

Inherited from:
CanvasItem
final def drawMultimesh(multimesh: MultiMesh, texture: Texture2D): Unit

CanvasItem.draw_multimesh

CanvasItem.draw_multimesh

Attributes

Inherited from:
CanvasItem
final def drawRect(rect: Rect2, color: Color, filled: Boolean, width: Double, antialiased: Boolean): Unit

CanvasItem.draw_rect

CanvasItem.draw_rect

Attributes

Inherited from:
CanvasItem
final def drawSetTransform(position: Vector2, rotation: Double, scale: Vector2): Unit

CanvasItem.draw_set_transform

CanvasItem.draw_set_transform

Attributes

Inherited from:
CanvasItem
final def drawSetTransformMatrix(xform: Transform2D): Unit

CanvasItem.draw_set_transform_matrix

CanvasItem.draw_set_transform_matrix

Attributes

Inherited from:
CanvasItem
final def drawStyleBox(style_box: StyleBox, rect: Rect2): Unit

CanvasItem.draw_style_box

CanvasItem.draw_style_box

Attributes

Inherited from:
CanvasItem
final def drawTexture(texture: Texture2D, position: Vector2, modulate: Color): Unit

CanvasItem.draw_texture

CanvasItem.draw_texture

Attributes

Inherited from:
CanvasItem
final def drawTextureRect(texture: Texture2D, rect: Rect2, tile: Boolean, modulate: Color, transpose: Boolean): Unit

CanvasItem.draw_texture_rect

CanvasItem.draw_texture_rect

Attributes

Inherited from:
CanvasItem
final def drawTextureRectRegion(texture: Texture2D, rect: Rect2, src_rect: Rect2, modulate: Color, transpose: Boolean, clip_uv: Boolean): Unit

CanvasItem.draw_texture_rect_region

CanvasItem.draw_texture_rect_region

Attributes

Inherited from:
CanvasItem
final def duplicate(flags: Long): Node

Node.duplicate

Node.duplicate

Attributes

Inherited from:
Node
final def findChild(pattern: String, recursive: Boolean, owned: Boolean): Node

Node.find_child

Node.find_child

Attributes

Inherited from:
Node
final def findParent(pattern: String): Node

Node.find_parent

Node.find_parent

Attributes

Inherited from:
Node
final def forceUpdateTransform(): Unit

CanvasItem.force_update_transform

CanvasItem.force_update_transform

Attributes

Inherited from:
CanvasItem
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 getAngleTo(point: Vector2): Double

Node2D.get_angle_to

Node2D.get_angle_to

Attributes

Inherited from:
Node2D
final def getAutoTranslateMode(): Long

Node.get_auto_translate_mode

Node.get_auto_translate_mode

Attributes

Inherited from:
Node

CanvasItem.get_canvas_layer_node

CanvasItem.get_canvas_layer_node

Attributes

Inherited from:
CanvasItem

CanvasItem.get_canvas_transform

CanvasItem.get_canvas_transform

Attributes

Inherited from:
CanvasItem
final def getChild(idx: Long, include_internal: Boolean): Node

Node.get_child

Node.get_child

Attributes

Inherited from:
Node
final def getChildCount(include_internal: Boolean): Long

Node.get_child_count

Node.get_child_count

Attributes

Inherited from:
Node
final def getClipChildrenMode(): Long

CanvasItem.get_clip_children_mode

CanvasItem.get_clip_children_mode

Attributes

Inherited from:
CanvasItem
final def getEditorDescription(): String

Node.get_editor_description

Node.get_editor_description

Attributes

Inherited from:
Node

CanvasItem.get_global_mouse_position

CanvasItem.get_global_mouse_position

Attributes

Inherited from:
CanvasItem
final def getGlobalPosition(): Vector2

Node2D.get_global_position

Node2D.get_global_position

Attributes

Inherited from:
Node2D
final def getGlobalRotation(): Double

Node2D.get_global_rotation

Node2D.get_global_rotation

Attributes

Inherited from:
Node2D
final def getGlobalRotationDegrees(): Double

Node2D.get_global_rotation_degrees

Node2D.get_global_rotation_degrees

Attributes

Inherited from:
Node2D
final def getGlobalScale(): Vector2

Node2D.get_global_scale

Node2D.get_global_scale

Attributes

Inherited from:
Node2D
final def getGlobalSkew(): Double

Node2D.get_global_skew

Node2D.get_global_skew

Attributes

Inherited from:
Node2D

CanvasItem.get_global_transform

CanvasItem.get_global_transform

Attributes

Inherited from:
CanvasItem

CanvasItem.get_global_transform_with_canvas

CanvasItem.get_global_transform_with_canvas

Attributes

Inherited from:
CanvasItem
final def getIndex(include_internal: Boolean): Long

Node.get_index

Node.get_index

Attributes

Inherited from:
Node
final def getInstanceId(): Long

Object.get_instance_id

Object.get_instance_id

Attributes

Inherited from:
Object

Node.get_last_exclusive_window

Node.get_last_exclusive_window

Attributes

Inherited from:
Node
final def getLightMask(): Long

CanvasItem.get_light_mask

CanvasItem.get_light_mask

Attributes

Inherited from:
CanvasItem

CanvasItem.get_local_mouse_position

CanvasItem.get_local_mouse_position

Attributes

Inherited from:
CanvasItem
final def getMaterial(): Material

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

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

Attributes

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

Object.get_method_argument_count

Object.get_method_argument_count

Attributes

Inherited from:
Object
final def getModulate(): Color

CanvasItem.get_modulate

CanvasItem.get_modulate

Attributes

Inherited from:
CanvasItem

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

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

Attributes

Inherited from:
Node
final def getMultiplayerAuthority(): Long

Node.get_multiplayer_authority

Node.get_multiplayer_authority

Attributes

Inherited from:
Node
final def getName(): StringName

Node.get_name

Node.get_name

Attributes

Inherited from:
Node
final def getOwner(): Node

Node.get_owner

Node.get_owner

Attributes

Inherited from:
Node
final def getParent(): Node

Node.get_parent

Node.get_parent

Attributes

Inherited from:
Node
final def getPhysicsInterpolationMode(): Long

Node.get_physics_interpolation_mode

Node.get_physics_interpolation_mode

Attributes

Inherited from:
Node
final def getPhysicsProcessDeltaTime(): Double

Node.get_physics_process_delta_time

Node.get_physics_process_delta_time

Attributes

Inherited from:
Node
final def getPhysicsProcessPriority(): Long

Node.get_physics_process_priority

Node.get_physics_process_priority

Attributes

Inherited from:
Node
final def getPosition(): Vector2

Node2D.get_position

Node2D.get_position

Attributes

Inherited from:
Node2D
final def getProcessDeltaTime(): Double

Node.get_process_delta_time

Node.get_process_delta_time

Attributes

Inherited from:
Node
final def getProcessMode(): Long

Node.get_process_mode

Node.get_process_mode

Attributes

Inherited from:
Node
final def getProcessPriority(): Long

Node.get_process_priority

Node.get_process_priority

Attributes

Inherited from:
Node
final def getProcessThreadGroup(): Long

Node.get_process_thread_group

Node.get_process_thread_group

Attributes

Inherited from:
Node
final def getProcessThreadGroupOrder(): Long

Node.get_process_thread_group_order

Node.get_process_thread_group_order

Attributes

Inherited from:
Node
final def getProcessThreadMessages(): Long

Node.get_process_thread_messages

Node.get_process_thread_messages

Attributes

Inherited from:
Node

Node2D.get_relative_transform_to_parent

Node2D.get_relative_transform_to_parent

Attributes

Inherited from:
Node2D
final def getRotation(): Double

Node2D.get_rotation

Node2D.get_rotation

Attributes

Inherited from:
Node2D
final def getRotationDegrees(): Double

Node2D.get_rotation_degrees

Node2D.get_rotation_degrees

Attributes

Inherited from:
Node2D
final def getScale(): Vector2

Node2D.get_scale

Node2D.get_scale

Attributes

Inherited from:
Node2D
final def getSceneFilePath(): String

Node.get_scene_file_path

Node.get_scene_file_path

Attributes

Inherited from:
Node
final def getSceneInstanceLoadPlaceholder(): Boolean

Node.get_scene_instance_load_placeholder

Node.get_scene_instance_load_placeholder

Attributes

Inherited from:
Node

CanvasItem.get_screen_transform

CanvasItem.get_screen_transform

Attributes

Inherited from:
CanvasItem
final def getSelfModulate(): Color

CanvasItem.get_self_modulate

CanvasItem.get_self_modulate

Attributes

Inherited from:
CanvasItem
final def getSkew(): Double

Node2D.get_skew

Node2D.get_skew

Attributes

Inherited from:
Node2D
final def getTextureFilter(): Long

CanvasItem.get_texture_filter

CanvasItem.get_texture_filter

Attributes

Inherited from:
CanvasItem
final def getTextureRepeat(): Long

CanvasItem.get_texture_repeat

CanvasItem.get_texture_repeat

Attributes

Inherited from:
CanvasItem
final def getTransform(): Transform2D

CanvasItem.get_transform

CanvasItem.get_transform

Attributes

Inherited from:
CanvasItem

Object.get_translation_domain

Object.get_translation_domain

Attributes

Inherited from:
Object
final def getTree(): SceneTree

Node.get_tree

Node.get_tree

Attributes

Inherited from:
Node
final def getTreeString(): String

Node.get_tree_string

Node.get_tree_string

Attributes

Inherited from:
Node
final def getTreeStringPretty(): String

Node.get_tree_string_pretty

Node.get_tree_string_pretty

Attributes

Inherited from:
Node
final def getUseParentMaterial(): Boolean

CanvasItem.get_use_parent_material

CanvasItem.get_use_parent_material

Attributes

Inherited from:
CanvasItem
final def getViewport(): Viewport

Node.get_viewport

Node.get_viewport

Attributes

Inherited from:
Node
final def getViewportRect(): Rect2

CanvasItem.get_viewport_rect

CanvasItem.get_viewport_rect

Attributes

Inherited from:
CanvasItem

CanvasItem.get_viewport_transform

CanvasItem.get_viewport_transform

Attributes

Inherited from:
CanvasItem
final def getVisibilityLayer(): Long

CanvasItem.get_visibility_layer

CanvasItem.get_visibility_layer

Attributes

Inherited from:
CanvasItem
final def getVisibilityLayerBit(layer: Long): Boolean

CanvasItem.get_visibility_layer_bit

CanvasItem.get_visibility_layer_bit

Attributes

Inherited from:
CanvasItem
final def getWindow(): Window

Node.get_window

Node.get_window

Attributes

Inherited from:
Node
final def getWorld2d(): World2D

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

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

Attributes

Inherited from:
CanvasItem
final def getZIndex(): Long

CanvasItem.get_z_index

CanvasItem.get_z_index

Attributes

Inherited from:
CanvasItem
final def globalTranslate(offset: Vector2): Unit

Node2D.global_translate

Node2D.global_translate

Attributes

Inherited from:
Node2D
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 hide(): Unit

CanvasItem.hide

CanvasItem.hide

Attributes

Inherited from:
CanvasItem
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 isAncestorOf(node: Node): Boolean

Node.is_ancestor_of

Node.is_ancestor_of

Attributes

Inherited from:
Node
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 isDisplayedFolded(): Boolean

Node.is_displayed_folded

Node.is_displayed_folded

Attributes

Inherited from:
Node
final def isDrawBehindParentEnabled(): Boolean

CanvasItem.is_draw_behind_parent_enabled

CanvasItem.is_draw_behind_parent_enabled

Attributes

Inherited from:
CanvasItem
final def isEditableInstance(node: Node): Boolean

Node.is_editable_instance

Node.is_editable_instance

Attributes

Inherited from:
Node
final def isGreaterThan(node: Node): Boolean

Node.is_greater_than

Node.is_greater_than

Attributes

Inherited from:
Node
final def isInGroup(group: StringName): Boolean

Node.is_in_group

Node.is_in_group

Attributes

Inherited from:
Node
final def isInsideTree(): Boolean

Node.is_inside_tree

Node.is_inside_tree

Attributes

Inherited from:
Node

CanvasItem.is_local_transform_notification_enabled

CanvasItem.is_local_transform_notification_enabled

Attributes

Inherited from:
CanvasItem
final def isMultiplayerAuthority(): Boolean

Node.is_multiplayer_authority

Node.is_multiplayer_authority

Attributes

Inherited from:
Node
final def isNodeReady(): Boolean

Node.is_node_ready

Node.is_node_ready

Attributes

Inherited from:
Node
final def isPartOfEditedScene(): Boolean

Node.is_part_of_edited_scene

Node.is_part_of_edited_scene

Attributes

Inherited from:
Node
final def isPhysicsInterpolated(): Boolean

Node.is_physics_interpolated

Node.is_physics_interpolated

Attributes

Inherited from:
Node
final def isPhysicsInterpolatedAndEnabled(): Boolean

Node.is_physics_interpolated_and_enabled

Node.is_physics_interpolated_and_enabled

Attributes

Inherited from:
Node
final def isPhysicsProcessing(): Boolean

Node.is_physics_processing

Node.is_physics_processing

Attributes

Inherited from:
Node
final def isPhysicsProcessingInternal(): Boolean

Node.is_physics_processing_internal

Node.is_physics_processing_internal

Attributes

Inherited from:
Node
final def isProcessing(): Boolean

Node.is_processing

Node.is_processing

Attributes

Inherited from:
Node
final def isProcessingInput(): Boolean

Node.is_processing_input

Node.is_processing_input

Attributes

Inherited from:
Node
final def isProcessingInternal(): Boolean

Node.is_processing_internal

Node.is_processing_internal

Attributes

Inherited from:
Node
final def isProcessingShortcutInput(): Boolean

Node.is_processing_shortcut_input

Node.is_processing_shortcut_input

Attributes

Inherited from:
Node
final def isProcessingUnhandledInput(): Boolean

Node.is_processing_unhandled_input

Node.is_processing_unhandled_input

Attributes

Inherited from:
Node
final def isProcessingUnhandledKeyInput(): Boolean

Node.is_processing_unhandled_key_input

Node.is_processing_unhandled_key_input

Attributes

Inherited from:
Node
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
final def isSetAsTopLevel(): Boolean

CanvasItem.is_set_as_top_level

CanvasItem.is_set_as_top_level

Attributes

Inherited from:
CanvasItem
final def isTransformNotificationEnabled(): Boolean

CanvasItem.is_transform_notification_enabled

CanvasItem.is_transform_notification_enabled

Attributes

Inherited from:
CanvasItem
final def isUniqueNameInOwner(): Boolean

Node.is_unique_name_in_owner

Node.is_unique_name_in_owner

Attributes

Inherited from:
Node
final def isVisible(): Boolean

CanvasItem.is_visible

CanvasItem.is_visible

Attributes

Inherited from:
CanvasItem
final def isVisibleInTree(): Boolean

CanvasItem.is_visible_in_tree

CanvasItem.is_visible_in_tree

Attributes

Inherited from:
CanvasItem
final def isYSortEnabled(): Boolean

CanvasItem.is_y_sort_enabled

CanvasItem.is_y_sort_enabled

Attributes

Inherited from:
CanvasItem
final def isZRelative(): Boolean

CanvasItem.is_z_relative

CanvasItem.is_z_relative

Attributes

Inherited from:
CanvasItem
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 lookAt(point: Vector2): Unit

Node2D.look_at

Node2D.look_at

Attributes

Inherited from:
Node2D
final def makeCanvasPositionLocal(viewport_point: Vector2): Vector2

CanvasItem.make_canvas_position_local

CanvasItem.make_canvas_position_local

Attributes

Inherited from:
CanvasItem
final def makeInputLocal(event: InputEvent): InputEvent

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

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

Attributes

Inherited from:
CanvasItem
final def moveChild(child_node: Node, to_index: Long): Unit

Node.move_child

Node.move_child

Attributes

Inherited from:
Node
final def moveLocalX(delta: Double, scaled: Boolean): Unit

Node2D.move_local_x

Node2D.move_local_x

Attributes

Inherited from:
Node2D
final def moveLocalY(delta: Double, scaled: Boolean): Unit

Node2D.move_local_y

Node2D.move_local_y

Attributes

Inherited from:
Node2D
final def moveToFront(): Unit

CanvasItem.move_to_front

CanvasItem.move_to_front

Attributes

Inherited from:
CanvasItem
final def notification(what: Long, reversed: Boolean): Unit

Object.notification

Object.notification

Attributes

Inherited from:
Object
final def notifyDeferredThreadGroup(what: Long): Unit

Node.notify_deferred_thread_group

Node.notify_deferred_thread_group

Attributes

Inherited from:
Node
final def notifyPropertyListChanged(): Unit

Object.notify_property_list_changed

Object.notify_property_list_changed

Attributes

Inherited from:
Object
final def notifyThreadSafe(what: Long): Unit

Node.notify_thread_safe

Node.notify_thread_safe

Attributes

Inherited from:
Node
final def printTree(): Unit

Node.print_tree

Node.print_tree

Attributes

Inherited from:
Node
final def printTreePretty(): Unit

Node.print_tree_pretty

Node.print_tree_pretty

Attributes

Inherited from:
Node
final def propagateNotification(what: Long): Unit

Node.propagate_notification

Node.propagate_notification

Attributes

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

Object.property_can_revert

Object.property_can_revert

Attributes

Inherited from:
Object
final def queueAccessibilityUpdate(): Unit

Node.queue_accessibility_update

Node.queue_accessibility_update

Attributes

Inherited from:
Node
final def queueFree(): Unit

Node.queue_free

Node.queue_free

Attributes

Inherited from:
Node
final def queueRedraw(): Unit

CanvasItem.queue_redraw

CanvasItem.queue_redraw

Attributes

Inherited from:
CanvasItem
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 removeChild(node: Node): Unit

Node.remove_child

Node.remove_child

Attributes

Inherited from:
Node
final def removeFromGroup(group: StringName): Unit

Node.remove_from_group

Node.remove_from_group

Attributes

Inherited from:
Node
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 reparent(new_parent: Node, keep_global_transform: Boolean): Unit

Node.reparent

Node.reparent

Attributes

Inherited from:
Node
final def replaceBy(node: Node, keep_groups: Boolean): Unit

Node.replace_by

Node.replace_by

Attributes

Inherited from:
Node
final def requestReady(): Unit

Node.request_ready

Node.request_ready

Attributes

Inherited from:
Node
final def resetPhysicsInterpolation(): Unit

Node.reset_physics_interpolation

Node.reset_physics_interpolation

Attributes

Inherited from:
Node
final def rotate(radians: Double): Unit

Node2D.rotate

Node2D.rotate

Attributes

Inherited from:
Node2D
final def setAsTopLevel(enable: Boolean): Unit

CanvasItem.set_as_top_level

CanvasItem.set_as_top_level

Attributes

Inherited from:
CanvasItem
final def setAutoTranslateMode(mode: Long): Unit

Node.set_auto_translate_mode

Node.set_auto_translate_mode

Attributes

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

Object.set_block_signals

Object.set_block_signals

Attributes

Inherited from:
Object
final def setClipChildrenMode(mode: Long): Unit

CanvasItem.set_clip_children_mode

CanvasItem.set_clip_children_mode

Attributes

Inherited from:
CanvasItem
final def setDisplayFolded(fold: Boolean): Unit

Node.set_display_folded

Node.set_display_folded

Attributes

Inherited from:
Node
final def setDrawBehindParent(enable: Boolean): Unit

CanvasItem.set_draw_behind_parent

CanvasItem.set_draw_behind_parent

Attributes

Inherited from:
CanvasItem
final def setEditableInstance(node: Node, is_editable: Boolean): Unit

Node.set_editable_instance

Node.set_editable_instance

Attributes

Inherited from:
Node
final def setEditorDescription(editor_description: String): Unit

Node.set_editor_description

Node.set_editor_description

Attributes

Inherited from:
Node
final def setGlobalPosition(position: Vector2): Unit

Node2D.set_global_position

Node2D.set_global_position

Attributes

Inherited from:
Node2D
final def setGlobalRotation(radians: Double): Unit

Node2D.set_global_rotation

Node2D.set_global_rotation

Attributes

Inherited from:
Node2D
final def setGlobalRotationDegrees(degrees: Double): Unit

Node2D.set_global_rotation_degrees

Node2D.set_global_rotation_degrees

Attributes

Inherited from:
Node2D
final def setGlobalScale(scale: Vector2): Unit

Node2D.set_global_scale

Node2D.set_global_scale

Attributes

Inherited from:
Node2D
final def setGlobalSkew(radians: Double): Unit

Node2D.set_global_skew

Node2D.set_global_skew

Attributes

Inherited from:
Node2D
final def setGlobalTransform(xform: Transform2D): Unit

Node2D.set_global_transform

Node2D.set_global_transform

Attributes

Inherited from:
Node2D
final def setLightMask(light_mask: Long): Unit

CanvasItem.set_light_mask

CanvasItem.set_light_mask

Attributes

Inherited from:
CanvasItem
final def setMaterial(material: Material): Unit

CanvasItem.set_material

CanvasItem.set_material

Attributes

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

Object.set_message_translation

Object.set_message_translation

Attributes

Inherited from:
Object
final def setModulate(modulate: Color): Unit

CanvasItem.set_modulate

CanvasItem.set_modulate

Attributes

Inherited from:
CanvasItem
final def setMultiplayerAuthority(id: Long, recursive: Boolean): Unit

Node.set_multiplayer_authority

Node.set_multiplayer_authority

Attributes

Inherited from:
Node
final def setName(name: StringName): Unit

Node.set_name

Node.set_name

Attributes

Inherited from:
Node
final def setNotifyLocalTransform(enable: Boolean): Unit

CanvasItem.set_notify_local_transform

CanvasItem.set_notify_local_transform

Attributes

Inherited from:
CanvasItem
final def setNotifyTransform(enable: Boolean): Unit

CanvasItem.set_notify_transform

CanvasItem.set_notify_transform

Attributes

Inherited from:
CanvasItem
final def setOwner(owner: Node): Unit

Node.set_owner

Node.set_owner

Attributes

Inherited from:
Node
final def setPhysicsInterpolationMode(mode: Long): Unit

Node.set_physics_interpolation_mode

Node.set_physics_interpolation_mode

Attributes

Inherited from:
Node
final def setPhysicsProcess(enable: Boolean): Unit

Node.set_physics_process

Node.set_physics_process

Attributes

Inherited from:
Node
final def setPhysicsProcessInternal(enable: Boolean): Unit

Node.set_physics_process_internal

Node.set_physics_process_internal

Attributes

Inherited from:
Node
final def setPhysicsProcessPriority(priority: Long): Unit

Node.set_physics_process_priority

Node.set_physics_process_priority

Attributes

Inherited from:
Node
final def setPosition(position: Vector2): Unit

Node2D.set_position

Node2D.set_position

Attributes

Inherited from:
Node2D
final def setProcess(enable: Boolean): Unit

Node.set_process

Node.set_process

Attributes

Inherited from:
Node
final def setProcessInput(enable: Boolean): Unit

Node.set_process_input

Node.set_process_input

Attributes

Inherited from:
Node
final def setProcessInternal(enable: Boolean): Unit

Node.set_process_internal

Node.set_process_internal

Attributes

Inherited from:
Node
final def setProcessMode(mode: Long): Unit

Node.set_process_mode

Node.set_process_mode

Attributes

Inherited from:
Node
final def setProcessPriority(priority: Long): Unit

Node.set_process_priority

Node.set_process_priority

Attributes

Inherited from:
Node
final def setProcessShortcutInput(enable: Boolean): Unit

Node.set_process_shortcut_input

Node.set_process_shortcut_input

Attributes

Inherited from:
Node
final def setProcessThreadGroup(mode: Long): Unit

Node.set_process_thread_group

Node.set_process_thread_group

Attributes

Inherited from:
Node
final def setProcessThreadGroupOrder(order: Long): Unit

Node.set_process_thread_group_order

Node.set_process_thread_group_order

Attributes

Inherited from:
Node
final def setProcessThreadMessages(flags: Long): Unit

Node.set_process_thread_messages

Node.set_process_thread_messages

Attributes

Inherited from:
Node
final def setProcessUnhandledInput(enable: Boolean): Unit

Node.set_process_unhandled_input

Node.set_process_unhandled_input

Attributes

Inherited from:
Node
final def setProcessUnhandledKeyInput(enable: Boolean): Unit

Node.set_process_unhandled_key_input

Node.set_process_unhandled_key_input

Attributes

Inherited from:
Node
final def setRotation(radians: Double): Unit

Node2D.set_rotation

Node2D.set_rotation

Attributes

Inherited from:
Node2D
final def setRotationDegrees(degrees: Double): Unit

Node2D.set_rotation_degrees

Node2D.set_rotation_degrees

Attributes

Inherited from:
Node2D
final def setScale(scale: Vector2): Unit

Node2D.set_scale

Node2D.set_scale

Attributes

Inherited from:
Node2D
final def setSceneFilePath(scene_file_path: String): Unit

Node.set_scene_file_path

Node.set_scene_file_path

Attributes

Inherited from:
Node
final def setSceneInstanceLoadPlaceholder(load_placeholder: Boolean): Unit

Node.set_scene_instance_load_placeholder

Node.set_scene_instance_load_placeholder

Attributes

Inherited from:
Node
final def setSelfModulate(self_modulate: Color): Unit

CanvasItem.set_self_modulate

CanvasItem.set_self_modulate

Attributes

Inherited from:
CanvasItem
final def setSkew(radians: Double): Unit

Node2D.set_skew

Node2D.set_skew

Attributes

Inherited from:
Node2D
final def setTextureFilter(mode: Long): Unit

CanvasItem.set_texture_filter

CanvasItem.set_texture_filter

Attributes

Inherited from:
CanvasItem
final def setTextureRepeat(mode: Long): Unit

CanvasItem.set_texture_repeat

CanvasItem.set_texture_repeat

Attributes

Inherited from:
CanvasItem
final def setTransform(xform: Transform2D): Unit

Node2D.set_transform

Node2D.set_transform

Attributes

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

Object.set_translation_domain

Object.set_translation_domain

Attributes

Inherited from:
Object
final def setTranslationDomainInherited(): Unit

Node.set_translation_domain_inherited

Node.set_translation_domain_inherited

Attributes

Inherited from:
Node
final def setUniqueNameInOwner(enable: Boolean): Unit

Node.set_unique_name_in_owner

Node.set_unique_name_in_owner

Attributes

Inherited from:
Node
final def setUseParentMaterial(enable: Boolean): Unit

CanvasItem.set_use_parent_material

CanvasItem.set_use_parent_material

Attributes

Inherited from:
CanvasItem
final def setVisibilityLayer(layer: Long): Unit

CanvasItem.set_visibility_layer

CanvasItem.set_visibility_layer

Attributes

Inherited from:
CanvasItem
final def setVisibilityLayerBit(layer: Long, enabled: Boolean): Unit

CanvasItem.set_visibility_layer_bit

CanvasItem.set_visibility_layer_bit

Attributes

Inherited from:
CanvasItem
final def setVisible(visible: Boolean): Unit

CanvasItem.set_visible

CanvasItem.set_visible

Attributes

Inherited from:
CanvasItem
final def setYSortEnabled(enabled: Boolean): Unit

CanvasItem.set_y_sort_enabled

CanvasItem.set_y_sort_enabled

Attributes

Inherited from:
CanvasItem
final def setZAsRelative(enable: Boolean): Unit

CanvasItem.set_z_as_relative

CanvasItem.set_z_as_relative

Attributes

Inherited from:
CanvasItem
final def setZIndex(z_index: Long): Unit

CanvasItem.set_z_index

CanvasItem.set_z_index

Attributes

Inherited from:
CanvasItem
final def show(): Unit

CanvasItem.show

CanvasItem.show

Attributes

Inherited from:
CanvasItem
final def toGlobal(local_point: Vector2): Vector2

Node2D.to_global

Node2D.to_global

Attributes

Inherited from:
Node2D
final def toLocal(global_point: Vector2): Vector2

Node2D.to_local

Node2D.to_local

Attributes

Inherited from:
Node2D
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
final def translate(offset: Vector2): Unit

Node2D.translate

Node2D.translate

Attributes

Inherited from:
Node2D
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 updateConfigurationWarnings(): Unit

Node.update_configuration_warnings

Node.update_configuration_warnings

Attributes

Inherited from:
Node
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