class

Godot::PolygonPathFinder

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

Constructors

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

Instance methods

data

Property data getter

Source
data=(val)

Property data setter

Source
find_path(from : Vector2, to : Vector2) : Pointer(Void)
Source
get_bounds
Source
get_closest_point(point : Vector2) : Vector2
Source
get_intersections(from : Vector2, to : Vector2) : Pointer(Void)
Source
get_point_penalty(idx : Int64) : Float64
Source
is_point_inside(point : Vector2) : Bool
Source
set_point_penalty(idx : Int64, penalty : Float64) : Void
Source
setup(points : Pointer(Void), connections : Pointer(Void)) : Void
Source