class

Godot::Curve

Inherits Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

add_point(position : Vector2, left_tangent : Float64, right_tangent : Float64, left_mode : Int64, right_mode : Int64) : Int64
Source
bake
Source
bake_resolution

Property bake_resolution getter

Source
bake_resolution=(val : Int)

Property bake_resolution setter

Source
clean_dupes
Source
clear_points
Source
get_bake_resolution
Source
get_domain_range
Source
get_max_domain
Source
get_max_value
Source
get_min_domain
Source
get_min_value
Source
get_point_count
Source
get_point_left_mode(index : Int64) : Int64
Source
get_point_left_tangent(index : Int64) : Float64
Source
get_point_position(index : Int64) : Vector2
Source
get_point_right_mode(index : Int64) : Int64
Source
get_point_right_tangent(index : Int64) : Float64
Source
get_value_range
Source
max_domain

Property max_domain getter

Source
max_domain=(val : Number)

Property max_domain setter

Source
max_value

Property max_value getter

Source
max_value=(val : Number)

Property max_value setter

Source
min_domain

Property min_domain getter

Source
min_domain=(val : Number)

Property min_domain setter

Source
min_value

Property min_value getter

Source
min_value=(val : Number)

Property min_value setter

Source
point_count

Property point_count getter

Source
point_count=(val : Int)

Property point_count setter

Source
remove_point(index : Int64) : Void
Source
sample(offset : Float64) : Float64
Source
sample_baked(offset : Float64) : Float64
Source
set_bake_resolution(resolution : Int64) : Void
Source
set_max_domain(max : Float64) : Void
Source
set_max_value(max : Float64) : Void
Source
set_min_domain(min : Float64) : Void
Source
set_min_value(min : Float64) : Void
Source
set_point_count(count : Int64) : Void
Source
set_point_left_mode(index : Int64, mode : Int64) : Void
Source
set_point_left_tangent(index : Int64, tangent : Float64) : Void
Source
set_point_offset(index : Int64, offset : Float64) : Int64
Source
set_point_right_mode(index : Int64, mode : Int64) : Void
Source
set_point_right_tangent(index : Int64, tangent : Float64) : Void
Source
set_point_value(index : Int64, y : Float64) : Void
Source

Nested types