Struct gdnative::NavigationPolygon
[−]
[src]
pub struct NavigationPolygon { /* fields omitted */ }
Methods
impl NavigationPolygon
[src]
pub fn set_vertices(&self, vertices: Vector2Array)
[src]
pub fn get_vertices(&self) -> Vector2Array
[src]
pub fn add_polygon(&self, polygon: Int32Array)
[src]
pub fn get_polygon_count(&self) -> i64
[src]
pub fn get_polygon(&self, idx: i64) -> Int32Array
[src]
pub fn clear_polygons(&self)
[src]
pub fn add_outline(&self, outline: Vector2Array)
[src]
pub fn add_outline_at_index(&self, outline: Vector2Array, index: i64)
[src]
pub fn get_outline_count(&self) -> i64
[src]
pub fn set_outline(&self, idx: i64, outline: Vector2Array)
[src]
pub fn get_outline(&self, idx: i64) -> Vector2Array
[src]
pub fn remove_outline(&self, idx: i64)
[src]
pub fn clear_outlines(&self)
[src]
pub fn make_polygons_from_outlines(&self)
[src]
pub fn _set_polygons(&self, polygons: VariantArray)
[src]
pub fn _get_polygons(&self) -> VariantArray
[src]
pub fn _set_outlines(&self, outlines: VariantArray)
[src]
pub fn _get_outlines(&self) -> VariantArray
[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 NavigationPolygon
[src]
type ClassData = NavigationPolygon
type Reference = NavigationPolygon
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