forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_curve2d
reduz edited this page Oct 15, 2014
·
15 revisions
####Inherits: Resource ####Category: Core
- int get_point_count ( ) const
- void add_point ( Vector2 pos, Vector2 in=Vector2(0,0), Vector2 out=Vector2(0,0), int atpos=-1 )
- void set_point_pos ( int idx, Vector2 pos )
- Vector2 get_point_pos ( int idx ) const
- void set_point_in ( int idx, Vector2 pos )
- Vector2 get_point_in ( int idx ) const
- void set_point_out ( int idx, Vector2 pos )
- Vector2 get_point_out ( int idx ) const
- void remove_point ( int idx )
- Vector2 interpolate ( int idx, float t ) const
- Vector2 interpolatef ( float fofs ) const
- void set_bake_interval ( float distance )
- float get_bake_interval ( ) const
- float get_baked_length ( ) const
- Vector2 interpolate_baked ( float offset, bool cubic=false ) const
- Vector2Array get_baked_points ( ) const