class Godot::LightOccluder2D

Defined in:

libgodot/generated/classes/classes_part3.cr

Constructors

Instance Method Summary

Instance methods inherited from class Godot::Node2D

apply_scale(ratio : Vector2) : Void apply_scale, get_angle_to(point : Vector2) : Float64 get_angle_to, get_global_position : Vector2 get_global_position, get_global_rotation : Float64 get_global_rotation, get_global_rotation_degrees : Float64 get_global_rotation_degrees, get_global_scale : Vector2 get_global_scale, get_global_skew : Float64 get_global_skew, get_position : Vector2 get_position, get_relative_transform_to_parent(parent : Node) : Transform2D get_relative_transform_to_parent, get_rotation : Float64 get_rotation, get_rotation_degrees : Float64 get_rotation_degrees, get_scale : Vector2 get_scale, get_skew : Float64 get_skew, global_position : Vector2 global_position, global_position=(v : Vector2) global_position=, global_rotation : Float32 global_rotation, global_rotation=(v : Float32) global_rotation=, global_rotation_degrees : Float32 global_rotation_degrees, global_rotation_degrees=(v : Float32) global_rotation_degrees=, global_scale : Vector2 global_scale, global_scale=(v : Vector2) global_scale=, global_skew : Float32 global_skew, global_skew=(v : Float32) global_skew=, global_transform : Transform2D global_transform, global_transform=(v : Transform2D) global_transform=, global_translate(offset : Vector2) : Void global_translate, global_x : Float32 global_x, global_x=(val : Number) : Void global_x=, global_y : Float32 global_y, global_y=(val : Number) : Void global_y=, look_at(point : Vector2) : Void look_at, look_at_pos(target : Vector2) : Void look_at_pos, move_local_x(delta : Float64, scaled : Bool = false) : Void move_local_x, move_local_y(delta : Float64, scaled : Bool = false) : Void move_local_y, position : Vector2 position, position=(v : Vector2) position=, rotate(radians : Float64) : Void rotate, rotation : Float32 rotation, rotation=(v : Float32) rotation=, rotation_degrees : Float32 rotation_degrees, rotation_degrees=(v : Float32) rotation_degrees=, scale : Vector2 scale, scale=(v : Vector2) scale=, set_global_position(position : Vector2) : Void set_global_position, set_global_rotation(radians : Float64) : Void set_global_rotation, set_global_rotation_degrees(degrees : Float64) : Void set_global_rotation_degrees, set_global_scale(scale : Vector2) : Void set_global_scale, set_global_skew(radians : Float64) : Void set_global_skew, set_global_transform(xform : Transform2D) : Void set_global_transform, set_position(position : Vector2) : Void set_position, set_rotation(radians : Float64) : Void set_rotation, set_rotation_degrees(degrees : Float64) : Void set_rotation_degrees, set_scale(scale : Vector2) : Void set_scale, set_skew(radians : Float64) : Void set_skew, set_transform(xform : Transform2D) : Void set_transform, skew : Float32 skew, skew=(v : Float32) skew=, to_global(local_point : Vector2) : Vector2 to_global, to_local(global_point : Vector2) : Vector2 to_local, transform : Transform2D transform, transform=(v : Transform2D) transform=, translate(offset : Vector2) : Void translate, visible : Bool visible, visible=(v : Bool) visible=, visible? : Bool visible?, x : Float32 x, x=(val : Number) : Void x=, y : Float32 y, y=(val : Number) : Void y=

Constructor methods inherited from class Godot::Node2D

new(pointer : Pointer(Void) = Pointer(Void).null) new

Instance methods inherited from class Godot::CanvasItem

clip_children clip_children, clip_children=(val : Int) clip_children=, draw_animation_slice(animation_length : Float64, slice_begin : Float64, slice_end : Float64, offset : Float64 = 0.0) : Void draw_animation_slice, draw_arc(center : Vector2, radius : Float64, start_angle : Float64, end_angle : Float64, point_count : Int64, color : Color, width : Float64 = -1.0, antialiased : Bool = false) : Void draw_arc, draw_behind_parent_enabled? : Bool draw_behind_parent_enabled?, draw_char(font : Font, pos : Vector2, char : String, font_size : Int64 = 16_i64, modulate : Color = Color.new(1.to_f32, 1.to_f32, 1.to_f32, 1.to_f32), oversampling : Float64 = 0.0) : Void draw_char, draw_char_outline(font : Font, pos : Vector2, char : String, font_size : Int64 = 16_i64, size : Int64 = -1_i64, modulate : Color = Color.new(1.to_f32, 1.to_f32, 1.to_f32, 1.to_f32), oversampling : Float64 = 0.0) : Void draw_char_outline, draw_circle(position : Vector2, radius : Float64, color : Color, filled : Bool = true, width : Float64 = -1.0, antialiased : Bool = false) : Void draw_circle, draw_colored_polygon(points : Pointer(Void), color : Color, uvs : Pointer(Void), texture : Texture2D | Nil = nil) : Void draw_colored_polygon, draw_dashed_line(from : Vector2, to : Vector2, color : Color, width : Float64 = -1.0, dash : Float64 = 2.0, aligned : Bool = true, antialiased : Bool = false) : Void draw_dashed_line, draw_ellipse(position : Vector2, major : Float64, minor : Float64, color : Color, filled : Bool = true, width : Float64 = -1.0, antialiased : Bool = false) : Void draw_ellipse, draw_ellipse_arc(center : Vector2, major : Float64, minor : Float64, start_angle : Float64, end_angle : Float64, point_count : Int64, color : Color, width : Float64 = -1.0, antialiased : Bool = false) : Void draw_ellipse_arc, draw_end_animation : Void draw_end_animation, draw_lcd_texture_rect_region(texture : Texture2D, rect : Rect2, src_rect : Rect2, modulate : Color = Color.new(1.to_f32, 1.to_f32, 1.to_f32, 1.to_f32)) : Void draw_lcd_texture_rect_region, draw_line(from : Vector2, to : Vector2, color : Color, width : Float64 = -1.0, antialiased : Bool = false) : Void draw_line, draw_mesh(mesh : Mesh, texture : Texture2D, transform : Transform2D, modulate : Color = Color.new(1.to_f32, 1.to_f32, 1.to_f32, 1.to_f32)) : Void draw_mesh, draw_msdf_texture_rect_region(texture : Texture2D, rect : Rect2, src_rect : Rect2, modulate : Color = Color.new(1.to_f32, 1.to_f32, 1.to_f32, 1.to_f32), outline : Float64 = 0.0, pixel_range : Float64 = 4.0, scale : Float64 = 1.0) : Void draw_msdf_texture_rect_region, draw_multiline(points : Pointer(Void), color : Color, width : Float64 = -1.0, antialiased : Bool = false) : Void draw_multiline, draw_multiline_colors(points : Pointer(Void), colors : Pointer(Void), width : Float64 = -1.0, antialiased : Bool = false) : Void draw_multiline_colors, draw_multiline_string(font : Font, pos : Vector2, text : String, alignment : Godot::HorizontalAlignment | Int = 0, width : Float64 = -1.0, font_size : Int64 = 16_i64, max_lines : Int64 = -1_i64, modulate : Color = Color.new(1.to_f32, 1.to_f32, 1.to_f32, 1.to_f32), brk_flags : Godot::TextServer::LineBreakFlag | Int = 3, justification_flags : Godot::TextServer::JustificationFlag | Int = 3, direction : Godot::TextServer::Direction | Int = 0, orientation : Godot::TextServer::Orientation | Int = 0, oversampling : Float64 = 0.0) : Void draw_multiline_string, draw_multiline_string_outline(font : Font, pos : Vector2, text : String, alignment : Godot::HorizontalAlignment | Int = 0, width : Float64 = -1.0, font_size : Int64 = 16_i64, max_lines : Int64 = -1_i64, size : Int64 = 1_i64, modulate : Color = Color.new(1.to_f32, 1.to_f32, 1.to_f32, 1.to_f32), brk_flags : Godot::TextServer::LineBreakFlag | Int = 3, justification_flags : Godot::TextServer::JustificationFlag | Int = 3, direction : Godot::TextServer::Direction | Int = 0, orientation : Godot::TextServer::Orientation | Int = 0, oversampling : Float64 = 0.0) : Void draw_multiline_string_outline, draw_multimesh(multimesh : MultiMesh, texture : Texture2D) : Void draw_multimesh, draw_polygon(points : Pointer(Void), colors : Pointer(Void), uvs : Pointer(Void), texture : Texture2D | Nil = nil) : Void draw_polygon, draw_polyline(points : Pointer(Void), color : Color, width : Float64 = -1.0, antialiased : Bool = false) : Void draw_polyline, draw_polyline_colors(points : Pointer(Void), colors : Pointer(Void), width : Float64 = -1.0, antialiased : Bool = false) : Void draw_polyline_colors, draw_primitive(points : Pointer(Void), colors : Pointer(Void), uvs : Pointer(Void), texture : Texture2D | Nil = nil) : Void draw_primitive, draw_rect(rect : Rect2, color : Color, filled : Bool = true, width : Float64 = -1.0, antialiased : Bool = false) : Void draw_rect, draw_set_transform(position : Vector2, rotation : Float64 = 0.0, scale : Vector2 = Vector2.new(1.to_f32, 1.to_f32)) : Void draw_set_transform, draw_set_transform_matrix(xform : Transform2D) : Void draw_set_transform_matrix, draw_string(font : Font, pos : Vector2, text : String, alignment : Godot::HorizontalAlignment | Int = 0, width : Float64 = -1.0, font_size : Int64 = 16_i64, modulate : Color = Color.new(1.to_f32, 1.to_f32, 1.to_f32, 1.to_f32), justification_flags : Godot::TextServer::JustificationFlag | Int = 3, direction : Godot::TextServer::Direction | Int = 0, orientation : Godot::TextServer::Orientation | Int = 0, oversampling : Float64 = 0.0) : Void draw_string, draw_string_outline(font : Font, pos : Vector2, text : String, alignment : Godot::HorizontalAlignment | Int = 0, width : Float64 = -1.0, font_size : Int64 = 16_i64, size : Int64 = 1_i64, modulate : Color = Color.new(1.to_f32, 1.to_f32, 1.to_f32, 1.to_f32), justification_flags : Godot::TextServer::JustificationFlag | Int = 3, direction : Godot::TextServer::Direction | Int = 0, orientation : Godot::TextServer::Orientation | Int = 0, oversampling : Float64 = 0.0) : Void draw_string_outline, draw_style_box(style_box : StyleBox, rect : Rect2) : Void draw_style_box, draw_texture(texture : Texture2D, position : Vector2, modulate : Color = Color.new(1.to_f32, 1.to_f32, 1.to_f32, 1.to_f32)) : Void draw_texture, draw_texture_rect(texture : Texture2D, rect : Rect2, tile : Bool, modulate : Color = Color.new(1.to_f32, 1.to_f32, 1.to_f32, 1.to_f32), transpose : Bool = false) : Void draw_texture_rect, draw_texture_rect_region(texture : Texture2D, rect : Rect2, src_rect : Rect2, modulate : Color = Color.new(1.to_f32, 1.to_f32, 1.to_f32, 1.to_f32), transpose : Bool = false, clip_uv : Bool = true) : Void draw_texture_rect_region, emit_hidden : Void emit_hidden, emit_item_rect_changed : Void emit_item_rect_changed, emit_visibility_changed : Void emit_visibility_changed, force_update_transform : Void force_update_transform, get_canvas : Int64 get_canvas, get_canvas_item : Int64 get_canvas_item, get_canvas_layer_node : CanvasLayer get_canvas_layer_node, get_canvas_transform : Transform2D get_canvas_transform, get_clip_children_mode : ClipChildrenMode get_clip_children_mode, get_global_mouse_position : Vector2 get_global_mouse_position, get_global_transform : Transform2D get_global_transform, get_global_transform_with_canvas : Transform2D get_global_transform_with_canvas, get_instance_shader_parameter(name : String) : Pointer(Void) get_instance_shader_parameter, get_light_mask : Int64 get_light_mask, get_local_mouse_position : Vector2 get_local_mouse_position, get_material : Material get_material, get_modulate : Color get_modulate, get_oversampling_with_scale : OversamplingWithScale get_oversampling_with_scale, get_screen_transform : Transform2D get_screen_transform, get_self_modulate : Color get_self_modulate, get_texture_filter : TextureFilter get_texture_filter, get_texture_repeat : TextureRepeat get_texture_repeat, get_transform : Transform2D get_transform, get_use_parent_material : Bool get_use_parent_material, get_use_parent_material? : Bool get_use_parent_material?, get_viewport_rect : Rect2 get_viewport_rect, get_viewport_transform : Transform2D get_viewport_transform, get_visibility_layer : Int64 get_visibility_layer, get_visibility_layer_bit(layer : Int64) : Bool get_visibility_layer_bit, get_visibility_layer_bit?(layer : Int64) : Bool get_visibility_layer_bit?, get_world_2d : World2D get_world_2d, get_z_index : Int64 get_z_index, hidden : Godot::TypedSignal() hidden, hide : Void hide, is_draw_behind_parent_enabled : Bool is_draw_behind_parent_enabled, is_draw_behind_parent_enabled? : Bool is_draw_behind_parent_enabled?, is_local_transform_notification_enabled : Bool is_local_transform_notification_enabled, is_local_transform_notification_enabled? : Bool is_local_transform_notification_enabled?, is_set_as_top_level : Bool is_set_as_top_level, is_set_as_top_level? : Bool is_set_as_top_level?, is_transform_notification_enabled : Bool is_transform_notification_enabled, is_transform_notification_enabled? : Bool is_transform_notification_enabled?, is_visible : Bool is_visible, is_visible? : Bool is_visible?, is_visible_in_tree : Bool is_visible_in_tree, is_visible_in_tree? : Bool is_visible_in_tree?, is_y_sort_enabled : Bool is_y_sort_enabled, is_y_sort_enabled? : Bool is_y_sort_enabled?, is_z_relative : Bool is_z_relative, is_z_relative? : Bool is_z_relative?, item_rect_changed : Godot::TypedSignal() item_rect_changed, light_mask light_mask, light_mask=(val : Int) light_mask=, local_transform_notification_enabled? : Bool local_transform_notification_enabled?, make_canvas_position_local(viewport_point : Vector2) : Vector2 make_canvas_position_local, make_input_local(event : InputEvent) : InputEvent make_input_local, material material, material=(val) material=, modulate modulate, modulate=(val) modulate=, move_to_front : Void move_to_front, oversampling_with_scale oversampling_with_scale, oversampling_with_scale=(val : Int) oversampling_with_scale=, queue_redraw : Void queue_redraw, self_modulate self_modulate, self_modulate=(val) self_modulate=, set_as_top_level(enable : Bool) : Void set_as_top_level, set_as_top_level? : Bool set_as_top_level?, set_clip_children_mode(mode : ClipChildrenMode | Int) : Void set_clip_children_mode, set_draw_behind_parent(enable : Bool) : Void set_draw_behind_parent, set_instance_shader_parameter(name : String, value : Pointer(Void)) : Void set_instance_shader_parameter, set_light_mask(light_mask : Int64) : Void set_light_mask, set_material(material : Material) : Void set_material, set_modulate(modulate : Color) : Void set_modulate, set_notify_local_transform(enable : Bool) : Void set_notify_local_transform, set_notify_transform(enable : Bool) : Void set_notify_transform, set_oversampling_with_scale(enabled : OversamplingWithScale | Int) : Void set_oversampling_with_scale, set_self_modulate(self_modulate : Color) : Void set_self_modulate, set_texture_filter(mode : TextureFilter | Int) : Void set_texture_filter, set_texture_repeat(mode : TextureRepeat | Int) : Void set_texture_repeat, set_use_parent_material(enable : Bool) : Void set_use_parent_material, set_visibility_layer(layer : Int64) : Void set_visibility_layer, set_visibility_layer_bit(layer : Int64, enabled : Bool) : Void set_visibility_layer_bit, set_visible(visible : Bool) : Void set_visible, set_y_sort_enabled(enabled : Bool) : Void set_y_sort_enabled, set_z_as_relative(enable : Bool) : Void set_z_as_relative, set_z_index(z_index : Int64) : Void set_z_index, show : Void show, show_behind_parent show_behind_parent, show_behind_parent=(val) show_behind_parent=, show_behind_parent? show_behind_parent?, texture_filter texture_filter, texture_filter=(val : Int) texture_filter=, texture_repeat texture_repeat, texture_repeat=(val : Int) texture_repeat=, top_level top_level, top_level=(val) top_level=, top_level? top_level?, transform_notification_enabled? : Bool transform_notification_enabled?, use_parent_material use_parent_material, use_parent_material=(val) use_parent_material=, use_parent_material? use_parent_material?, visibility_changed : Godot::TypedSignal() visibility_changed, visibility_layer visibility_layer, visibility_layer=(val : Int) visibility_layer=, visible visible, visible=(val) visible=, visible? : Bool visible?, visible_in_tree? : Bool visible_in_tree?, y_sort_enabled y_sort_enabled, y_sort_enabled=(val) y_sort_enabled=, y_sort_enabled? : Bool y_sort_enabled?, z_as_relative z_as_relative, z_as_relative=(val) z_as_relative=, z_as_relative? z_as_relative?, z_index z_index, z_index=(val : Int) z_index=, z_relative? : Bool z_relative?

Constructor methods inherited from class Godot::CanvasItem

new(pointer : Pointer(Void) = Pointer(Void).null) new

Instance methods inherited from class Godot::Node

%(unique_name : String | NodePath) : Node
%(type : T.class) : T forall T
%
, /(path : String | NodePath) : Node
/(type : T.class) : T forall T
/
, [](path : String | NodePath, type : T.class) : T forall T
[](type : T.class, path : String | NodePath) : T forall T
[](path : String) : Node
[](path : NodePath) : Node
[](type : T.class) : T forall T
[]
, []?(path : String | NodePath, type : T.class) : T | Nil forall T
[]?(type : T.class, path : String | NodePath) : T | Nil forall T
[]?(path : String) : Node | Nil
[]?(path : NodePath) : Node | Nil
[]?(type : T.class) : T | Nil forall T
[]?
, _enter_tree : Void _enter_tree, _exit_tree : Void _exit_tree, _physics_process(delta : Float64) : Void _physics_process, _process(delta : Float64) : Void _process, _ready : Void _ready, ~ : self ~, add_child(node : Node, force_readable_name : Bool = false, internal : InternalMode | Int = 0) : Void add_child, add_sibling(sibling : Node, force_readable_name : Bool = false) : Void add_sibling, add_to_group(group : String, persistent : Bool = false) : Void add_to_group, ancestor_of?(node : Node) : Bool ancestor_of?, atr(message : String, context : String = "") : String atr, atr_n(message : String, plural_message : String, n : Int64, context : String = "") : String atr_n, auto_translate_mode auto_translate_mode, auto_translate_mode=(val : Int) auto_translate_mode=, can_auto_translate : Bool can_auto_translate, can_auto_translate? : Bool can_auto_translate?, can_process : Bool can_process, can_process? : Bool can_process?, child_count : Int32 child_count, child_entered_tree : Godot::TypedSignal(Node) child_entered_tree, child_exiting_tree : Godot::TypedSignal(Node) child_exiting_tree, child_order_changed : Godot::TypedSignal() child_order_changed, children(include_internal : Bool = false) : Array(Node) children, clear_children(include_internal : Bool = false) : Void clear_children, create_tween : Tween create_tween, defer_add_child(node : Node, force_readable_name : Bool = false, internal : InternalMode | Int = 0) : Void defer_add_child, defer_move_child(child_node : Node, to_position : Int64 | Int32) : Void defer_move_child, defer_queue_free : Void defer_queue_free, defer_remove_child(node : Node) : Void defer_remove_child, defer_reparent(new_parent : Node, keep_global_transform : Bool = true) : Void defer_reparent, destroy : Void destroy, displayed_folded? : Bool displayed_folded?, duplicate(flags : Int64 = 15_i64) : Node duplicate, each_child(include_internal : Bool = false, &block : Node -> Void) : Void each_child, editable_instance?(node : Node) : Bool editable_instance?, editor_description editor_description, editor_description=(val) editor_description=, editor_description_changed : Godot::TypedSignal(Node) editor_description_changed, editor_state_changed : Godot::TypedSignal() editor_state_changed, emit_child_entered_tree(*args) : Void emit_child_entered_tree, emit_child_exiting_tree(*args) : Void emit_child_exiting_tree, emit_child_order_changed : Void emit_child_order_changed, emit_editor_description_changed(*args) : Void emit_editor_description_changed, emit_editor_state_changed : Void emit_editor_state_changed, emit_ready : Void emit_ready, emit_renamed : Void emit_renamed, emit_replacing_by(*args) : Void emit_replacing_by, emit_tree_entered : Void emit_tree_entered, emit_tree_exited : Void emit_tree_exited, emit_tree_exiting : Void emit_tree_exiting, find_child(pattern : String, recursive : Bool = true, owned : Bool = true) : Node find_child, find_child?(pattern : String, recursive : Bool = true, owned : Bool = false) : Node | Nil find_child?, find_child_as(type : T.class, pattern : String, recursive : Bool = true, owned : Bool = false) : T | Nil forall T find_child_as, find_children(pattern : String, get_type : String = "", recursive : Bool = true, owned : Bool = true) : Pointer(Void) find_children, find_parent(pattern : String) : Node find_parent, get_accessibility_element : Int64 get_accessibility_element, get_auto_translate_mode : AutoTranslateMode get_auto_translate_mode, get_child(idx : Int64, include_internal : Bool = false) : Node get_child, get_child?(idx : Int, include_internal : Bool = false) : Node | Nil get_child?, get_child_as(type : T.class, idx : Int, include_internal : Bool = false) : T | Nil forall T get_child_as, get_child_count(include_internal : Bool = false) : Int64 get_child_count, get_children(include_internal : Bool = false) : Array(Node) get_children, get_children_as(type : T.class, include_internal : Bool = false) : Array(T) forall T get_children_as, get_editor_description : String get_editor_description, get_groups : Pointer(Void) get_groups, get_index(include_internal : Bool = false) : Int64 get_index, get_last_exclusive_window : Window get_last_exclusive_window, get_multiplayer : MultiplayerAPI get_multiplayer, get_multiplayer_authority : Int64 get_multiplayer_authority, get_name : String get_name, get_node(path : String) : Node
get_node(path : NodePath) : Node
get_node(path : NodePath | String) : Node
get_node
, get_node?(path : String) : Node | Nil
get_node?(path : NodePath) : Node | Nil
get_node?
, get_node_and_resource(path : NodePath | String) : Pointer(Void) get_node_and_resource, get_node_as(path : String | NodePath, type : T.class) : T forall T get_node_as, get_node_as?(path : String | NodePath, type : T.class) : T | Nil forall T get_node_as?, get_node_or_null(path : String) : Node | Nil
get_node_or_null(path : NodePath) : Node | Nil
get_node_or_null(path : NodePath | String) : Node
get_node_or_null
, get_node_rpc_config : Pointer(Void) get_node_rpc_config, get_orphan_node_ids : Pointer(Void) get_orphan_node_ids, get_owner : Node get_owner, get_parent : Node get_parent, get_parent? : Node | Nil get_parent?, get_parent_as(type : T.class) : T | Nil forall T get_parent_as, get_path : NodePath get_path, get_path_to(node : Node, use_unique_path : Bool = false) : NodePath get_path_to, get_physics_interpolation_mode : PhysicsInterpolationMode get_physics_interpolation_mode, get_physics_process_delta_time : Float64 get_physics_process_delta_time, get_physics_process_priority : Int64 get_physics_process_priority, get_process_delta_time : Float64 get_process_delta_time, get_process_mode : ProcessMode get_process_mode, get_process_priority : Int64 get_process_priority, get_process_thread_group : ProcessThreadGroup get_process_thread_group, get_process_thread_group_order : Int64 get_process_thread_group_order, get_process_thread_messages : ProcessThreadMessages get_process_thread_messages, get_scene_file_path : String get_scene_file_path, get_scene_instance_load_placeholder : Bool get_scene_instance_load_placeholder, get_scene_instance_load_placeholder? : Bool get_scene_instance_load_placeholder?, get_tree : SceneTree get_tree, get_tree_string : String get_tree_string, get_tree_string_pretty : String get_tree_string_pretty, get_unique_node_as(unique_name : String, type : T.class) : T | Nil forall T get_unique_node_as, get_viewport : Viewport get_viewport, get_window : Window get_window, greater_than?(node : Node) : Bool greater_than?, has_node(path : NodePath | String) : Bool has_node, has_node?(path : NodePath | String) : Bool has_node?, has_node_and_resource(path : NodePath | String) : Bool has_node_and_resource, has_node_and_resource?(path : NodePath | String) : Bool has_node_and_resource?, in_group?(group_name : String) : Bool in_group?, inside_tree? : Bool inside_tree?, is_ancestor_of(node : Node) : Bool is_ancestor_of, is_ancestor_of?(node : Node) : Bool is_ancestor_of?, is_displayed_folded : Bool is_displayed_folded, is_displayed_folded? : Bool is_displayed_folded?, is_editable_instance(node : Node) : Bool is_editable_instance, is_editable_instance?(node : Node) : Bool is_editable_instance?, is_greater_than(node : Node) : Bool is_greater_than, is_greater_than?(node : Node) : Bool is_greater_than?, is_in_group(group : String) : Bool is_in_group, is_in_group?(group : String) : Bool is_in_group?, is_inside_tree : Bool is_inside_tree, is_inside_tree? : Bool is_inside_tree?, is_multiplayer_authority : Bool is_multiplayer_authority, is_multiplayer_authority? : Bool is_multiplayer_authority?, is_node_ready : Bool is_node_ready, is_node_ready? : Bool is_node_ready?, is_part_of_edited_scene : Bool is_part_of_edited_scene, is_part_of_edited_scene? : Bool is_part_of_edited_scene?, is_physics_interpolated : Bool is_physics_interpolated, is_physics_interpolated? : Bool is_physics_interpolated?, is_physics_interpolated_and_enabled : Bool is_physics_interpolated_and_enabled, is_physics_interpolated_and_enabled? : Bool is_physics_interpolated_and_enabled?, is_physics_processing : Bool is_physics_processing, is_physics_processing? : Bool is_physics_processing?, is_physics_processing_internal : Bool is_physics_processing_internal, is_physics_processing_internal? : Bool is_physics_processing_internal?, is_processing : Bool is_processing, is_processing? : Bool is_processing?, is_processing_input : Bool is_processing_input, is_processing_input? : Bool is_processing_input?, is_processing_internal : Bool is_processing_internal, is_processing_internal? : Bool is_processing_internal?, is_processing_shortcut_input : Bool is_processing_shortcut_input, is_processing_shortcut_input? : Bool is_processing_shortcut_input?, is_processing_unhandled_input : Bool is_processing_unhandled_input, is_processing_unhandled_input? : Bool is_processing_unhandled_input?, is_processing_unhandled_key_input : Bool is_processing_unhandled_key_input, is_processing_unhandled_key_input? : Bool is_processing_unhandled_key_input?, is_unique_name_in_owner : Bool is_unique_name_in_owner, is_unique_name_in_owner? : Bool is_unique_name_in_owner?, local_groups : Set(String) local_groups, move_child(child_node : Node, to_index : Int64) : Void
move_child(child_node : Node, to_index : Int | Int64) : Void
move_child
, multiplayer multiplayer, multiplayer_authority? : Bool multiplayer_authority?, name : String name, name=(val : String) name=, node_as(path : String | NodePath, type : T.class) : T forall T node_as, node_as?(path : String | NodePath, type : T.class) : T | Nil forall T node_as?, node_ready? : Bool node_ready?, notify_deferred_thread_group(what : Int64) : Void notify_deferred_thread_group, notify_thread_safe(what : Int64) : Void notify_thread_safe, owner : Node | Nil owner, owner=(o : Node | Nil) owner=, part_of_edited_scene? : Bool part_of_edited_scene?, physics_interpolated? : Bool physics_interpolated?, physics_interpolated_and_enabled? : Bool physics_interpolated_and_enabled?, physics_interpolation_mode physics_interpolation_mode, physics_interpolation_mode=(val : Int) physics_interpolation_mode=, physics_processing? : Bool physics_processing?, physics_processing_internal? : Bool physics_processing_internal?, print_orphan_nodes : Void print_orphan_nodes, print_tree : Void print_tree, print_tree_pretty : Void print_tree_pretty, process_mode process_mode, process_mode=(val : Int) process_mode=, process_physics_priority process_physics_priority, process_physics_priority=(val : Int) process_physics_priority=, process_priority process_priority, process_priority=(val : Int) process_priority=, process_thread_group process_thread_group, process_thread_group=(val : Int) process_thread_group=, process_thread_group_order process_thread_group_order, process_thread_group_order=(val : Int) process_thread_group_order=, process_thread_messages process_thread_messages, process_thread_messages=(val : Int) process_thread_messages=, processing? : Bool processing?, processing_input? : Bool processing_input?, processing_internal? : Bool processing_internal?, processing_shortcut_input? : Bool processing_shortcut_input?, processing_unhandled_input? : Bool processing_unhandled_input?, processing_unhandled_key_input? : Bool processing_unhandled_key_input?, propagate_call(method : String, args : Pointer(Void), parent_first : Bool = false) : Void propagate_call, propagate_notification(what : Int64) : Void propagate_notification, queue_accessibility_update : Void queue_accessibility_update, queue_free : Void queue_free, ready : Godot::TypedSignal() ready, remove_child(node : Node) : Void remove_child, remove_from_group(group : String) : Void remove_from_group, remove_from_tree : Void remove_from_tree, renamed : Godot::TypedSignal() renamed, reparent(new_parent : Node, keep_global_transform : Bool = true) : Void reparent, replace_by(node : Node, keep_groups : Bool = false) : Void replace_by, replacing_by : Godot::TypedSignal(Node) replacing_by, request_ready : Void request_ready, reset_physics_interpolation : Void reset_physics_interpolation, rpc(method : String | Symbol, *args) : Godot::Error rpc, rpc_config(method : String, config : Pointer(Void)) : Void rpc_config, rpc_id(peer_id : Int32 | Int64, method : String | Symbol, *args) : Godot::Error rpc_id, safe_queue_free : Void safe_queue_free, scene_file_path scene_file_path, scene_file_path=(val) scene_file_path=, set_auto_translate_mode(mode : AutoTranslateMode | Int) : Void set_auto_translate_mode, set_deferred_thread_group(property : String, value : Pointer(Void)) : Void set_deferred_thread_group, set_display_folded(fold : Bool) : Void set_display_folded, set_editable_instance(node : Node, is_editable : Bool) : Void set_editable_instance, set_editor_description(editor_description : String) : Void set_editor_description, set_multiplayer_authority(id : Int64, recursive : Bool = true) : Void set_multiplayer_authority, set_name(name : String) : Void set_name, set_owner(owner : Node) : Void set_owner, set_physics_interpolation_mode(mode : PhysicsInterpolationMode | Int) : Void set_physics_interpolation_mode, set_physics_process(enable : Bool) : Void set_physics_process, set_physics_process_internal(enable : Bool) : Void set_physics_process_internal, set_physics_process_priority(priority : Int64) : Void set_physics_process_priority, set_process(enable : Bool) : Void set_process, set_process_input(enable : Bool) : Void set_process_input, set_process_internal(enable : Bool) : Void set_process_internal, set_process_mode(mode : ProcessMode | Int) : Void set_process_mode, set_process_priority(priority : Int64) : Void set_process_priority, set_process_shortcut_input(enable : Bool) : Void set_process_shortcut_input, set_process_thread_group(mode : ProcessThreadGroup | Int) : Void set_process_thread_group, set_process_thread_group_order(order : Int64) : Void set_process_thread_group_order, set_process_thread_messages(flags : ProcessThreadMessages | Int) : Void set_process_thread_messages, set_process_unhandled_input(enable : Bool) : Void set_process_unhandled_input, set_process_unhandled_key_input(enable : Bool) : Void set_process_unhandled_key_input, set_scene_file_path(scene_file_path : String) : Void set_scene_file_path, set_scene_instance_load_placeholder(load_placeholder : Bool) : Void set_scene_instance_load_placeholder, set_thread_safe(property : String, value : Pointer(Void)) : Void set_thread_safe, set_translation_domain_inherited : Void set_translation_domain_inherited, set_unique_name_in_owner(enable : Bool) : Void set_unique_name_in_owner, tree_entered : Godot::TypedSignal() tree_entered, tree_exited : Godot::TypedSignal() tree_exited, tree_exiting : Godot::TypedSignal() tree_exiting, unique_as(name : String | NodePath, type : T.class) : T forall T unique_as, unique_as?(name : String | NodePath, type : T.class) : T | Nil forall T unique_as?, unique_name_in_owner unique_name_in_owner, unique_name_in_owner=(val) unique_name_in_owner=, unique_name_in_owner? : Bool unique_name_in_owner?, update_configuration_warnings : Void update_configuration_warnings, with_context(&) with_context

Constructor methods inherited from class Godot::Node

~ : self ~, new(pointer : Pointer(Void) = Pointer(Void).null) new

Class methods inherited from class Godot::Node

decompose_node_path(raw_path : String) : Tuple(Bool, String, String | Nil) decompose_node_path, get_orphan_node_ids : Pointer(Void) get_orphan_node_ids, print_orphan_nodes : Void print_orphan_nodes

Instance methods inherited from class Godot::Object

==(other : Godot::Object) : Bool
==(other : Nil) : Bool
==
, _enter_tree : Void _enter_tree, _exit_tree : Void _exit_tree, _godot_call_tool_button(button_name : String) : Void _godot_call_tool_button, _godot_call_virtual(method_name : String, delta : Float64) : Void _godot_call_virtual, _godot_call_virtual_with_data(method_name : String, args : Pointer(Pointer(Void)), ret : Pointer(Void)) : Void _godot_call_virtual_with_data, _godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void _godot_get_property, _godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void _godot_set_property, _physics_process(delta : Float64) : Void _physics_process, _process(delta : Float64) : Void _process, _ready : Void _ready, add_user_signal(signal : String, arguments : Pointer(Void)) : Void add_user_signal, alive? : Bool alive?, await_signal(signal_name : String, timeout_sec : Float64 | Nil = nil) : Array(Variant) await_signal, blocking_signals? : Bool blocking_signals?, call(method : String, *args) : Pointer(Void) call, call_bool(method : String, *args) : Bool call_bool, call_deferred(method : String, *args) : Pointer(Void) call_deferred, call_f64(method : String, *args) : Float64 call_f64, call_i64(method : String, *args) : Int64 call_i64, call_obj(method : String, *args) : Node | Nil call_obj, call_obj_as(type : T.class, method : String, *args) : T | Nil forall T call_obj_as, call_str(method : String, *args) : String call_str, callv(method : String, arg_array : Pointer(Void)) : Pointer(Void) callv, can_translate_messages : Bool can_translate_messages, can_translate_messages? : Bool can_translate_messages?, cancel_free : Void cancel_free, check_alive! : Void check_alive!, class?(godot_class : String) : Bool class?, connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, callback : Proc(Array(Variant), Void) | Nil = nil) : SignalSubscription
connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, &block : Array(Variant) -> Void) : SignalSubscription
connect(signal_name : Symbol, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, &block : Array(Variant) -> Void) : SignalSubscription
connect(signal_name : String, listener_target : Godot::Object, method_name : Symbol, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None) : SignalSubscription
connect(signal : String, callable : Pointer(Void), flags : Int64 = 0_i64) : Godot::Error
connect
, connect_one_shot(signal_name : String, &block : Array(Variant) -> Void) : SignalSubscription connect_one_shot, connected?(signal : String, callable : Pointer(Void)) : Bool connected?, destroy : Void destroy, destroyed? : Bool destroyed?, disconnect(signal : String, callable : Pointer(Void)) : Void
disconnect(signal_name : String) : Void
disconnect
, editor_hint? : Bool editor_hint?, emit_property_list_changed : Void emit_property_list_changed, emit_script_changed : Void emit_script_changed, emit_signal(name : String) : Void
emit_signal(name : String, *args) : Void
emit_signal
, explicitly_freed? : Bool explicitly_freed?, free : Void free, get(property : String) : Pointer(Void) get, get_class : String get_class, get_incoming_connections : Pointer(Void) get_incoming_connections, get_indexed(property_path : NodePath | String) : Pointer(Void) get_indexed, get_instance_id : Int64 get_instance_id, get_meta(name : String, default : Pointer(Void) | Nil = nil) : Pointer(Void) get_meta, get_meta_list : Pointer(Void) get_meta_list, get_method_argument_count(method : String) : Int64 get_method_argument_count, get_method_list : Pointer(Void) get_method_list, get_property_list : Pointer(Void) get_property_list, get_script : Pointer(Void) get_script, get_signal_connection_list(signal : String) : Pointer(Void) get_signal_connection_list, get_signal_list : Pointer(Void) get_signal_list, get_translation_domain : String get_translation_domain, has_connections(signal : String) : Bool has_connections, has_connections?(signal : String) : Bool has_connections?, has_meta(name : String) : Bool has_meta, has_meta?(name : String) : Bool has_meta?, has_method(method : String) : Bool has_method, has_method?(method : String) : Bool has_method?, has_signal(signal : String) : Bool has_signal, has_signal?(signal_name : String) : Bool has_signal?, has_user_signal(signal : String) : Bool has_user_signal, has_user_signal?(signal : String) : Bool has_user_signal?, hash(hasher) hash, if_alive : self | Nil if_alive, instance_id : UInt64 instance_id, is_blocking_signals : Bool is_blocking_signals, is_blocking_signals? : Bool is_blocking_signals?, is_class(godot_class : String) : Bool is_class, is_class?(godot_class : String) : Bool is_class?, is_connected(signal : String, callable : Pointer(Void)) : Bool is_connected, is_connected?(signal : String, callable : Pointer(Void)) : Bool is_connected?, is_queued_for_deletion : Bool is_queued_for_deletion, is_queued_for_deletion? : Bool is_queued_for_deletion?, is_valid? : Bool is_valid?, link_class_script : Void link_class_script, notification(what : Int64, reversed : Bool = false) : Void notification, notify_property_list_changed : Void notify_property_list_changed, pointer : Pointer(Void) pointer, pointer=(val : Pointer(Void)) pointer=, print(*args) print, printerr(*args) printerr, property_can_revert(property : String) : Bool property_can_revert, property_can_revert?(property : String) : Bool property_can_revert?, property_get_revert(property : String) : Pointer(Void) property_get_revert, property_list_changed : Godot::TypedSignal() property_list_changed, puts(*args) puts, queued_for_deletion? : Bool queued_for_deletion?, remove_meta(name : String) : Void remove_meta, remove_user_signal(signal : String) : Void remove_user_signal, script_changed : Godot::TypedSignal() script_changed, set(property : String, value : Pointer(Void)) : Void set, set_block_signals(enable : Bool) : Void set_block_signals, set_deferred(property : String, value : Pointer(Void)) : Void set_deferred, set_indexed(property_path : NodePath | String, value : Pointer(Void)) : Void set_indexed, set_message_translation(enable : Bool) : Void set_message_translation, set_meta(name : String, value : Pointer(Void)) : Void set_meta, set_script(script : Pointer(Void)) : Void set_script, set_translation_domain(domain : String) : Void set_translation_domain, signal(name : String) : Godot::BoundSignal
signal(sym : Symbol) : Godot::BoundSignal
signal
, signal_connection_count(signal_name : String) : Int32 signal_connection_count, signal_target_id : UInt64 signal_target_id, to_s(io : IO) : Void to_s, to_string : String to_string, to_unsafe : Pointer(Void) to_unsafe, tr(message : String, context : String = "") : String tr, tr_n(message : String, plural_message : String, n : Int64, context : String = "") : String tr_n

Constructor methods inherited from class Godot::Object

new(pointer : Pointer(Void) = Pointer(Void).null) new

Class methods inherited from class Godot::Object

_godot_has_virtual_method(method_name : String) : Bool _godot_has_virtual_method, find_script_path_for_class(target_cls : String) : String find_script_path_for_class, is_instance_id_valid(id : Int | UInt64) : Bool is_instance_id_valid

Constructor Detail

def self.new(pointer : Pointer(Void) = Pointer(Void).null) #

Instance Method Detail

def get_occluder_light_mask : Int64 #

def get_occluder_polygon : OccluderPolygon2D #

def is_set_as_sdf_collision : Bool #

def is_set_as_sdf_collision? : Bool #

Predicate alias for #is_set_as_sdf_collision


def occluder #

Property #occluder getter


def occluder=(val) #

Property #occluder setter


def occluder_light_mask #

Property #occluder_light_mask getter


def occluder_light_mask=(val : Int) #

Property #occluder_light_mask setter


def sdf_collision #

Property #sdf_collision getter


def sdf_collision=(val) #

Property #sdf_collision setter


def sdf_collision? #

def set_as_sdf_collision(enable : Bool) : Void #

def set_as_sdf_collision? : Bool #

Predicate alias for #is_set_as_sdf_collision


def set_occluder_light_mask(mask : Int64) : Void #

def set_occluder_polygon(polygon : OccluderPolygon2D) : Void #