Generated wrapper for Godot's CanvasItem, extends Node.
Attributes
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
-
class Controlclass BaseButtonclass Buttonclass CheckBoxclass CheckButtonclass ColorPickerButtonclass MenuButtonclass OptionButtonclass LinkButtonclass TextureButtonclass ColorRectclass Containerclass AspectRatioContainerclass BoxContainerclass HBoxContainerclass EditorResourcePickerclass EditorScriptPickerclass EditorToasterclass VBoxContainerclass ColorPickerclass ScriptEditorBaseclass CenterContainerclass EditorPropertyclass FlowContainerclass HFlowContainerclass VFlowContainerclass FoldableContainerclass GraphElementclass GraphFrameclass GraphNodeclass GridContainerclass MarginContainerclass EditorDockclass FileSystemDockclass PanelContainerclass ScriptEditorclass ScrollContainerclass EditorInspectorclass SplitContainerclass HSplitContainerclass VSplitContainerclass SubViewportContainerclass TabContainerclass GraphEditclass ItemListclass Labelclass LineEditclass MenuBarclass NinePatchRectclass Panelclass Rangeclass EditorSpinSliderclass ProgressBarclass ScrollBarclass HScrollBarclass VScrollBarclass Sliderclass HSliderclass VSliderclass SpinBoxclass TextureProgressBarclass ReferenceRectclass RichTextLabelclass Separatorclass HSeparatorclass VSeparatorclass TabBarclass TextEditclass CodeEditclass TextureRectclass Treeclass VideoStreamPlayerclass Node2Dclass AnimatedSprite2Dclass AudioListener2Dclass AudioStreamPlayer2Dclass BackBufferCopyclass Bone2Dclass CPUParticles2Dclass Camera2Dclass CanvasGroupclass CanvasModulateclass CollisionObject2Dclass Area2Dclass PhysicsBody2Dclass CharacterBody2Dclass RigidBody2Dclass PhysicalBone2Dclass StaticBody2Dclass AnimatableBody2Dclass CollisionPolygon2Dclass CollisionShape2Dclass GPUParticles2Dclass Joint2Dclass DampedSpringJoint2Dclass GrooveJoint2Dclass PinJoint2Dclass Light2Dclass DirectionalLight2Dclass PointLight2Dclass LightOccluder2Dclass Line2Dclass Marker2Dclass MeshInstance2Dclass MultiMeshInstance2Dclass NavigationLink2Dclass NavigationObstacle2Dclass NavigationRegion2Dclass Parallax2Dclass ParallaxLayerclass Path2Dclass PathFollow2Dclass Polygon2Dclass RayCast2Dclass RemoteTransform2Dclass ShapeCast2Dclass Skeleton2Dclass Sprite2Dclass TileMapclass TileMapLayerclass TouchScreenButtonclass VisibleOnScreenEnabler2DShow all
Members list
Value members
Concrete methods
CanvasItem.draw_animation_slice
CanvasItem.draw_animation_slice
Attributes
CanvasItem.draw_char
CanvasItem.draw_char
Attributes
CanvasItem.draw_circle
CanvasItem.draw_circle
Attributes
CanvasItem.draw_end_animation
CanvasItem.draw_end_animation
Attributes
CanvasItem.draw_lcd_texture_rect_region
CanvasItem.draw_lcd_texture_rect_region
Attributes
CanvasItem.draw_line
CanvasItem.draw_line
Attributes
CanvasItem.draw_mesh
CanvasItem.draw_mesh
Attributes
CanvasItem.draw_multimesh
CanvasItem.draw_multimesh
Attributes
CanvasItem.draw_rect
CanvasItem.draw_rect
Attributes
CanvasItem.draw_set_transform
CanvasItem.draw_set_transform
Attributes
CanvasItem.draw_set_transform_matrix
CanvasItem.draw_set_transform_matrix
Attributes
CanvasItem.draw_style_box
CanvasItem.draw_style_box
Attributes
CanvasItem.draw_texture
CanvasItem.draw_texture
Attributes
CanvasItem.draw_texture_rect
CanvasItem.draw_texture_rect
Attributes
CanvasItem.draw_texture_rect_region
CanvasItem.draw_texture_rect_region
Attributes
CanvasItem.force_update_transform
CanvasItem.force_update_transform
Attributes
CanvasItem.get_canvas_layer_node
CanvasItem.get_canvas_layer_node
Attributes
CanvasItem.get_canvas_transform
CanvasItem.get_canvas_transform
Attributes
CanvasItem.get_clip_children_mode
CanvasItem.get_clip_children_mode
Attributes
CanvasItem.get_global_mouse_position
CanvasItem.get_global_mouse_position
Attributes
CanvasItem.get_global_transform
CanvasItem.get_global_transform
Attributes
CanvasItem.get_global_transform_with_canvas
CanvasItem.get_global_transform_with_canvas
Attributes
CanvasItem.get_light_mask
CanvasItem.get_light_mask
Attributes
CanvasItem.get_local_mouse_position
CanvasItem.get_local_mouse_position
Attributes
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
CanvasItem.get_modulate
CanvasItem.get_modulate
Attributes
CanvasItem.get_screen_transform
CanvasItem.get_screen_transform
Attributes
CanvasItem.get_self_modulate
CanvasItem.get_self_modulate
Attributes
CanvasItem.get_texture_filter
CanvasItem.get_texture_filter
Attributes
CanvasItem.get_texture_repeat
CanvasItem.get_texture_repeat
Attributes
CanvasItem.get_transform
CanvasItem.get_transform
Attributes
CanvasItem.get_use_parent_material
CanvasItem.get_use_parent_material
Attributes
CanvasItem.get_viewport_rect
CanvasItem.get_viewport_rect
Attributes
CanvasItem.get_viewport_transform
CanvasItem.get_viewport_transform
Attributes
CanvasItem.get_visibility_layer
CanvasItem.get_visibility_layer
Attributes
CanvasItem.get_visibility_layer_bit
CanvasItem.get_visibility_layer_bit
Attributes
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
CanvasItem.get_z_index
CanvasItem.get_z_index
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
CanvasItem.hide
CanvasItem.hide
Attributes
CanvasItem.is_draw_behind_parent_enabled
CanvasItem.is_draw_behind_parent_enabled
Attributes
CanvasItem.is_local_transform_notification_enabled
CanvasItem.is_local_transform_notification_enabled
Attributes
CanvasItem.is_set_as_top_level
CanvasItem.is_set_as_top_level
Attributes
CanvasItem.is_transform_notification_enabled
CanvasItem.is_transform_notification_enabled
Attributes
CanvasItem.is_visible
CanvasItem.is_visible
Attributes
CanvasItem.is_visible_in_tree
CanvasItem.is_visible_in_tree
Attributes
CanvasItem.is_y_sort_enabled
CanvasItem.is_y_sort_enabled
Attributes
CanvasItem.is_z_relative
CanvasItem.is_z_relative
Attributes
CanvasItem.make_canvas_position_local
CanvasItem.make_canvas_position_local
Attributes
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
CanvasItem.move_to_front
CanvasItem.move_to_front
Attributes
CanvasItem.queue_redraw
CanvasItem.queue_redraw
Attributes
CanvasItem.set_as_top_level
CanvasItem.set_as_top_level
Attributes
CanvasItem.set_clip_children_mode
CanvasItem.set_clip_children_mode
Attributes
CanvasItem.set_draw_behind_parent
CanvasItem.set_draw_behind_parent
Attributes
CanvasItem.set_light_mask
CanvasItem.set_light_mask
Attributes
CanvasItem.set_material
CanvasItem.set_material
Attributes
CanvasItem.set_modulate
CanvasItem.set_modulate
Attributes
CanvasItem.set_notify_local_transform
CanvasItem.set_notify_local_transform
Attributes
CanvasItem.set_notify_transform
CanvasItem.set_notify_transform
Attributes
CanvasItem.set_self_modulate
CanvasItem.set_self_modulate
Attributes
CanvasItem.set_texture_filter
CanvasItem.set_texture_filter
Attributes
CanvasItem.set_texture_repeat
CanvasItem.set_texture_repeat
Attributes
CanvasItem.set_use_parent_material
CanvasItem.set_use_parent_material
Attributes
CanvasItem.set_visibility_layer
CanvasItem.set_visibility_layer
Attributes
CanvasItem.set_visibility_layer_bit
CanvasItem.set_visibility_layer_bit
Attributes
CanvasItem.set_visible
CanvasItem.set_visible
Attributes
CanvasItem.set_y_sort_enabled
CanvasItem.set_y_sort_enabled
Attributes
CanvasItem.set_z_as_relative
CanvasItem.set_z_as_relative
Attributes
CanvasItem.set_z_index
CanvasItem.set_z_index
Attributes
CanvasItem.show
CanvasItem.show
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
Node.add_child
Node.add_sibling
Node.add_to_group
Node.atr
Node.atr_n
Node.can_auto_translate
Node.can_process
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
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
Node.duplicate
Node.find_child
Node.find_parent
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
Node.get_auto_translate_mode
Node.get_child
Node.get_child_count
Node.get_editor_description
Node.get_index
Object.get_instance_id
Node.get_last_exclusive_window
Object.get_method_argument_count
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
Node.get_multiplayer_authority
Node.get_name
Node.get_physics_interpolation_mode
Node.get_physics_process_delta_time
Node.get_physics_process_priority
Node.get_process_delta_time
Node.get_process_mode
Node.get_process_priority
Node.get_process_thread_group
Node.get_process_thread_group_order
Node.get_process_thread_messages
Node.get_scene_file_path
Node.get_scene_instance_load_placeholder
Object.get_translation_domain
Node.get_tree_string
Node.get_tree_string_pretty
Node.get_viewport
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
Node.is_ancestor_of
Object.is_blocking_signals
Object.is_class
Node.is_displayed_folded
Node.is_editable_instance
Node.is_greater_than
Node.is_in_group
Node.is_inside_tree
Node.is_multiplayer_authority
Node.is_node_ready
Node.is_part_of_edited_scene
Node.is_physics_interpolated
Node.is_physics_interpolated_and_enabled
Node.is_physics_processing
Node.is_physics_processing_internal
Node.is_processing
Node.is_processing_input
Node.is_processing_internal
Node.is_processing_shortcut_input
Node.is_processing_unhandled_input
Node.is_processing_unhandled_key_input
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
Node.is_unique_name_in_owner
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
Node.move_child
Object.notification
Node.notify_deferred_thread_group
Object.notify_property_list_changed
Node.notify_thread_safe
Node.print_tree_pretty
Node.propagate_notification
Object.property_can_revert
Node.queue_accessibility_update
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
Node.remove_child
Node.remove_from_group
Object.remove_meta
Object.remove_user_signal
Node.reparent
Node.replace_by
Node.request_ready
Node.reset_physics_interpolation
Node.set_auto_translate_mode
Object.set_block_signals
Node.set_display_folded
Node.set_editable_instance
Node.set_editor_description
Object.set_message_translation
Node.set_multiplayer_authority
Node.set_name
Node.set_physics_interpolation_mode
Node.set_physics_process
Node.set_physics_process_internal
Node.set_physics_process_priority
Node.set_process
Node.set_process_input
Node.set_process_internal
Node.set_process_mode
Node.set_process_priority
Node.set_process_shortcut_input
Node.set_process_thread_group
Node.set_process_thread_group_order
Node.set_process_thread_messages
Node.set_process_unhandled_input
Node.set_process_unhandled_key_input
Node.set_scene_file_path
Node.set_scene_instance_load_placeholder
Object.set_translation_domain
Node.set_translation_domain_inherited
Node.set_unique_name_in_owner
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
Node.update_configuration_warnings
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