Struct gdnative::Curve2D
[−]
[src]
pub struct Curve2D { /* fields omitted */ }
Methods
impl Curve2D
[src]
pub fn get_point_count(&self) -> i64
[src]
pub fn add_point(
&self,
position: Vector2,
_in: Vector2,
out: Vector2,
at_position: i64
)
[src]
&self,
position: Vector2,
_in: Vector2,
out: Vector2,
at_position: i64
)
pub fn set_point_position(&self, idx: i64, position: Vector2)
[src]
pub fn get_point_position(&self, idx: i64) -> Vector2
[src]
pub fn set_point_in(&self, idx: i64, position: Vector2)
[src]
pub fn get_point_in(&self, idx: i64) -> Vector2
[src]
pub fn set_point_out(&self, idx: i64, position: Vector2)
[src]
pub fn get_point_out(&self, idx: i64) -> Vector2
[src]
pub fn remove_point(&self, idx: i64)
[src]
pub fn clear_points(&self)
[src]
pub fn interpolate(&self, idx: i64, t: f64) -> Vector2
[src]
pub fn interpolatef(&self, fofs: f64) -> Vector2
[src]
pub fn set_bake_interval(&self, distance: f64)
[src]
pub fn get_bake_interval(&self) -> f64
[src]
pub fn get_baked_length(&self) -> f64
[src]
pub fn interpolate_baked(&self, offset: f64, cubic: bool) -> Vector2
[src]
pub fn get_baked_points(&self) -> Vector2Array
[src]
pub fn tessellate(
&self,
max_stages: i64,
tolerance_degrees: f64
) -> Vector2Array
[src]
&self,
max_stages: i64,
tolerance_degrees: f64
) -> Vector2Array
pub fn _get_data(&self) -> Dictionary
[src]
pub fn _set_data(&self, arg0: 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 Curve2D
[src]
type ClassData = Curve2D
type Reference = Curve2D
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