Struct gdnative::AStar
[−]
[src]
pub struct AStar { /* fields omitted */ }
Methods
impl AStar
[src]
pub fn _estimate_cost(&self, from_id: i64, to_id: i64) -> f64
[src]
pub fn _compute_cost(&self, from_id: i64, to_id: i64) -> f64
[src]
pub fn get_available_point_id(&self) -> i64
[src]
pub fn add_point(&self, id: i64, position: Vector3, weight_scale: f64)
[src]
pub fn get_point_position(&self, id: i64) -> Vector3
[src]
pub fn set_point_position(&self, id: i64, position: Vector3)
[src]
pub fn get_point_weight_scale(&self, id: i64) -> f64
[src]
pub fn set_point_weight_scale(&self, id: i64, weight_scale: f64)
[src]
pub fn remove_point(&self, id: i64)
[src]
pub fn has_point(&self, id: i64) -> bool
[src]
pub fn get_points(&self) -> VariantArray
[src]
pub fn get_point_connections(&self, id: i64) -> Int32Array
[src]
pub fn connect_points(&self, id: i64, to_id: i64, bidirectional: bool)
[src]
pub fn disconnect_points(&self, id: i64, to_id: i64)
[src]
pub fn are_points_connected(&self, id: i64, to_id: i64) -> bool
[src]
pub fn clear(&self)
[src]
pub fn get_closest_point(&self, to_position: Vector3) -> i64
[src]
pub fn get_closest_position_in_segment(&self, to_position: Vector3) -> Vector3
[src]
pub fn get_point_path(&self, from_id: i64, to_id: i64) -> Vector3Array
[src]
pub fn get_id_path(&self, from_id: i64, to_id: i64) -> Int32Array
[src]
Methods from Deref<Target = Reference>
pub fn init_ref(&self) -> bool
[src]
pub fn reference(&self) -> bool
[src]
pub fn unreference(&self) -> bool
[src]
Trait Implementations
impl GodotClass for AStar
[src]
type ClassData = AStar
type Reference = AStar
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