Struct gdnative::PolygonPathFinder
[−]
[src]
pub struct PolygonPathFinder { /* fields omitted */ }
Methods
impl PolygonPathFinder
[src]
pub fn setup(&self, points: Vector2Array, connections: Int32Array)
[src]
pub fn find_path(&self, from: Vector2, to: Vector2) -> Vector2Array
[src]
pub fn get_intersections(&self, from: Vector2, to: Vector2) -> Vector2Array
[src]
pub fn get_closest_point(&self, point: Vector2) -> Vector2
[src]
pub fn is_point_inside(&self, point: Vector2) -> bool
[src]
pub fn set_point_penalty(&self, idx: i64, penalty: f64)
[src]
pub fn get_point_penalty(&self, idx: i64) -> f64
[src]
pub fn get_bounds(&self) -> Rect2
[src]
pub fn _set_data(&self, arg0: Dictionary)
[src]
pub fn _get_data(&self) -> Dictionary
[src]
Methods from Deref<Target = Resource>
pub fn _setup_local_to_scene(&self)
[src]
pub fn set_path(&self, path: GodotString)
[src]
pub fn take_over_path(&self, path: GodotString)
[src]
pub fn get_path(&self) -> GodotString
[src]
pub fn set_name(&self, name: GodotString)
[src]
pub fn get_name(&self) -> GodotString
[src]
pub fn get_rid(&self) -> Rid
[src]
pub fn set_local_to_scene(&self, enable: bool)
[src]
pub fn is_local_to_scene(&self) -> bool
[src]
pub fn get_local_scene(&self) -> Option<GodotRef<Node>>
[src]
pub fn setup_local_to_scene(&self)
[src]
pub fn duplicate(&self, subresources: bool) -> Option<GodotRef<Resource>>
[src]
Trait Implementations
impl GodotClass for PolygonPathFinder
[src]
type ClassData = PolygonPathFinder
type Reference = PolygonPathFinder
fn godot_name() -> &'static str
[src]
unsafe fn register_class(_desc: *mut c_void)
[src]
fn godot_info(&self) -> &GodotClassInfo
[src]
unsafe fn reference(
_this: *mut godot_object,
data: &Self::ClassData
) -> &Self::Reference
[src]
_this: *mut godot_object,
data: &Self::ClassData
) -> &Self::Reference