class

Godot::Shape2D

Inherits Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object

Constructors

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

Instance methods

collide(local_xform : Transform2D, with_shape : Shape2D, shape_xform : Transform2D) : Bool
Source
collide_and_get_contacts(local_xform : Transform2D, with_shape : Shape2D, shape_xform : Transform2D) : Pointer(Void)
Source
collide_with_motion(local_xform : Transform2D, local_motion : Vector2, with_shape : Shape2D, shape_xform : Transform2D, shape_motion : Vector2) : Bool
Source
collide_with_motion_and_get_contacts(local_xform : Transform2D, local_motion : Vector2, with_shape : Shape2D, shape_xform : Transform2D, shape_motion : Vector2) : Pointer(Void)
Source
custom_solver_bias

Property custom_solver_bias getter

Source
custom_solver_bias=(val : Number)

Property custom_solver_bias setter

Source
draw(canvas_item : Int64, color : Color) : Void
Source
get_custom_solver_bias
Source
get_rect
Source
set_custom_solver_bias(bias : Float64) : Void
Source