Curve

Inherits: Resource < Reference < Object

Category: Core

Brief Description

Member Functions

int add_point ( Vector2 pos, float left_tangent=0, float right_tangent=0, int left_mode=0, int right_mode=null )
void bake ( )
void clean_dupes ( )
void clear_points ( )
int get_bake_resolution ( ) const
float get_max_value ( ) const
float get_min_value ( ) const
int get_point_left_mode ( int index ) const
float get_point_left_tangent ( int index ) const
Vector2 get_point_pos ( int index ) const
int get_point_right_mode ( int index ) const
float get_point_right_tangent ( int index ) const
float interpolate ( float offset ) const
float interpolate_baked ( float offset )
void remove_point ( int index )
void set_bake_resolution ( int resolution )
void set_max_value ( float max )
void set_min_value ( float min )
void set_point_left_mode ( int index, int mode )
void set_point_left_tangent ( int index, float tangent )
void set_point_offset ( int index, float offset )
void set_point_right_mode ( int index, int mode )
void set_point_right_tangent ( int index, float tangent )
void set_point_value ( int index, float y )

Signals

  • range_changed ( )

Member Variables

Member Function Description

  • void bake ( )
  • void clean_dupes ( )
  • void clear_points ( )
  • int get_bake_resolution ( ) const
  • float get_max_value ( ) const
  • float get_min_value ( ) const
  • int get_point_left_mode ( int index ) const
  • float get_point_left_tangent ( int index ) const
  • int get_point_right_mode ( int index ) const
  • float get_point_right_tangent ( int index ) const
  • void remove_point ( int index )
  • void set_bake_resolution ( int resolution )
  • void set_max_value ( float max )
  • void set_min_value ( float min )
  • void set_point_left_mode ( int index, int mode )
  • void set_point_left_tangent ( int index, float tangent )
  • void set_point_offset ( int index, float offset )
  • void set_point_right_mode ( int index, int mode )
  • void set_point_right_tangent ( int index, float tangent )
  • void set_point_value ( int index, float y )