Struct gdnative::Curve
[−]
[src]
pub struct Curve { /* fields omitted */ }
Methods
impl Curve
[src]
pub fn add_point(
&self,
position: Vector2,
left_tangent: f64,
right_tangent: f64,
left_mode: i64,
right_mode: i64
) -> i64
[src]
&self,
position: Vector2,
left_tangent: f64,
right_tangent: f64,
left_mode: i64,
right_mode: i64
) -> i64
pub fn remove_point(&self, index: i64)
[src]
pub fn clear_points(&self)
[src]
pub fn get_point_position(&self, index: i64) -> Vector2
[src]
pub fn set_point_value(&self, index: i64, y: f64)
[src]
pub fn set_point_offset(&self, index: i64, offset: f64) -> i64
[src]
pub fn interpolate(&self, offset: f64) -> f64
[src]
pub fn interpolate_baked(&self, offset: f64) -> f64
[src]
pub fn get_point_left_tangent(&self, index: i64) -> f64
[src]
pub fn get_point_right_tangent(&self, index: i64) -> f64
[src]
pub fn set_point_left_tangent(&self, index: i64, tangent: f64)
[src]
pub fn set_point_right_tangent(&self, index: i64, tangent: f64)
[src]
pub fn set_point_left_mode(&self, index: i64, mode: i64)
[src]
pub fn set_point_right_mode(&self, index: i64, mode: i64)
[src]
pub fn get_min_value(&self) -> f64
[src]
pub fn set_min_value(&self, min: f64)
[src]
pub fn get_max_value(&self) -> f64
[src]
pub fn set_max_value(&self, max: f64)
[src]
pub fn clean_dupes(&self)
[src]
pub fn bake(&self)
[src]
pub fn get_bake_resolution(&self) -> i64
[src]
pub fn set_bake_resolution(&self, resolution: i64)
[src]
pub fn _get_data(&self) -> VariantArray
[src]
pub fn _set_data(&self, data: 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 Curve
[src]
type ClassData = Curve
type Reference = Curve
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