class

Godot::CollisionShape2D

Inherits Godot::Node2D < Godot::CanvasItem < Godot::Node < Godot::Object < Reference < Object

Constructors

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

Instance methods

debug_color

Property debug_color getter

Source
debug_color=(val)

Property debug_color setter

Source
disabled

Property disabled getter

Source
disabled=(val)

Property disabled setter

Source
disabled?
Source
get_debug_color
Source
get_one_way_collision_direction
Source
get_one_way_collision_margin
Source
get_shape
Source
is_disabled
Source
is_one_way_collision_enabled
Source
one_way_collision

Property one_way_collision getter

Source
one_way_collision=(val)

Property one_way_collision setter

Source
one_way_collision?
Source
one_way_collision_direction

Property one_way_collision_direction getter

Source
one_way_collision_direction=(val)

Property one_way_collision_direction setter

Source
one_way_collision_margin

Property one_way_collision_margin getter

Source
one_way_collision_margin=(val : Number)

Property one_way_collision_margin setter

Source
set_debug_color(color : Color) : Void
Source
set_disabled(disabled : Bool) : Void
Source
set_one_way_collision(enabled : Bool) : Void
Source
set_one_way_collision_direction(direction : Vector2) : Void
Source
set_one_way_collision_margin(margin : Float64) : Void
Source
set_shape(shape : Shape2D) : Void
Source
shape

Property shape getter

Source
shape=(val)

Property shape setter

Source