Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
PolygonPathFinder¶
继承: Resource < RefCounted < Object
该类目前没有描述,请帮我们贡献一个吧!
方法¶
get_bounds() const |
|
get_closest_point(point: Vector2) const |
|
get_intersections(from: Vector2, to: Vector2) const |
|
get_point_penalty(idx: int) const |
|
is_point_inside(point: Vector2) const |
|
void |
set_point_penalty(idx: int, penalty: float) |
void |
setup(points: PackedVector2Array, connections: PackedInt32Array) |
方法说明¶
PackedVector2Array find_path(from: Vector2, to: Vector2) 🔗
该方法目前没有描述,请帮我们贡献一个吧!
该方法目前没有描述,请帮我们贡献一个吧!
Vector2 get_closest_point(point: Vector2) const 🔗
该方法目前没有描述,请帮我们贡献一个吧!
PackedVector2Array get_intersections(from: Vector2, to: Vector2) const 🔗
该方法目前没有描述,请帮我们贡献一个吧!
float get_point_penalty(idx: int) const 🔗
该方法目前没有描述,请帮我们贡献一个吧!
bool is_point_inside(point: Vector2) const 🔗
该方法目前没有描述,请帮我们贡献一个吧!
void set_point_penalty(idx: int, penalty: float) 🔗
该方法目前没有描述,请帮我们贡献一个吧!
void setup(points: PackedVector2Array, connections: PackedInt32Array) 🔗
该方法目前没有描述,请帮我们贡献一个吧!