Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

PolygonPathFinder

继承: Resource < RefCounted < Object

目前没有这个类的描述。请帮我们贡献一个

方法

PackedVector2Array

find_path ( Vector2 from, Vector2 to )

Rect2

get_bounds ( ) const

Vector2

get_closest_point ( Vector2 point ) const

PackedVector2Array

get_intersections ( Vector2 from, Vector2 to ) const

float

get_point_penalty ( int idx ) const

bool

is_point_inside ( Vector2 point ) const

void

set_point_penalty ( int idx, float penalty )

void

setup ( PackedVector2Array points, PackedInt32Array connections )


方法说明

PackedVector2Array find_path ( Vector2 from, Vector2 to )

目前没有这个方法的描述。请帮我们贡献一个


Rect2 get_bounds ( ) const

目前没有这个方法的描述。请帮我们贡献一个


Vector2 get_closest_point ( Vector2 point ) const

目前没有这个方法的描述。请帮我们贡献一个


PackedVector2Array get_intersections ( Vector2 from, Vector2 to ) const

目前没有这个方法的描述。请帮我们贡献一个


float get_point_penalty ( int idx ) const

目前没有这个方法的描述。请帮我们贡献一个


bool is_point_inside ( Vector2 point ) const

目前没有这个方法的描述。请帮我们贡献一个


void set_point_penalty ( int idx, float penalty )

目前没有这个方法的描述。请帮我们贡献一个


void setup ( PackedVector2Array points, PackedInt32Array connections )

目前没有这个方法的描述。请帮我们贡献一个