Curve

Inherits: Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Properties

int

bake_resolution

100

float

max_value

1.0

float

min_value

0.0

int

point_count

0

Methods

int

add_point ( Vector2 position, float left_tangent=0, float right_tangent=0, TangentMode left_mode=0, TangentMode right_mode=0 )

void

bake ( )

void

clean_dupes ( )

void

clear_points ( )

TangentMode

get_point_left_mode ( int index ) const

float

get_point_left_tangent ( int index ) const

Vector2

get_point_position ( int index ) const

TangentMode

get_point_right_mode ( int index ) const

float

get_point_right_tangent ( int index ) const

void

remove_point ( int index )

float

sample ( float offset ) const

float

sample_baked ( float offset ) const

void

set_point_left_mode ( int index, TangentMode mode )

void

set_point_left_tangent ( int index, float tangent )

int

set_point_offset ( int index, float offset )

void

set_point_right_mode ( int index, TangentMode mode )

void

set_point_right_tangent ( int index, float tangent )

void

set_point_value ( int index, float y )


Signals

range_changed ( )

There is currently no description for this signal. Please help us by contributing one!


Enumerations

enum TangentMode:

TangentMode TANGENT_FREE = 0

There is currently no description for this enum. Please help us by contributing one!

TangentMode TANGENT_LINEAR = 1

There is currently no description for this enum. Please help us by contributing one!

TangentMode TANGENT_MODE_COUNT = 2

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

int bake_resolution = 100

  • void set_bake_resolution ( int value )

  • int get_bake_resolution ( )

There is currently no description for this property. Please help us by contributing one!


float max_value = 1.0

  • void set_max_value ( float value )

  • float get_max_value ( )

There is currently no description for this property. Please help us by contributing one!


float min_value = 0.0

  • void set_min_value ( float value )

  • float get_min_value ( )

There is currently no description for this property. Please help us by contributing one!


int point_count = 0

  • void set_point_count ( int value )

  • int get_point_count ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

int add_point ( Vector2 position, float left_tangent=0, float right_tangent=0, TangentMode left_mode=0, TangentMode right_mode=0 )

There is currently no description for this method. Please help us by contributing one!


void bake ( )

There is currently no description for this method. Please help us by contributing one!


void clean_dupes ( )

There is currently no description for this method. Please help us by contributing one!


void clear_points ( )

There is currently no description for this method. Please help us by contributing one!


TangentMode get_point_left_mode ( int index ) const

There is currently no description for this method. Please help us by contributing one!


float get_point_left_tangent ( int index ) const

There is currently no description for this method. Please help us by contributing one!


Vector2 get_point_position ( int index ) const

There is currently no description for this method. Please help us by contributing one!


TangentMode get_point_right_mode ( int index ) const

There is currently no description for this method. Please help us by contributing one!


float get_point_right_tangent ( int index ) const

There is currently no description for this method. Please help us by contributing one!


void remove_point ( int index )

There is currently no description for this method. Please help us by contributing one!


float sample ( float offset ) const

There is currently no description for this method. Please help us by contributing one!


float sample_baked ( float offset ) const

There is currently no description for this method. Please help us by contributing one!


void set_point_left_mode ( int index, TangentMode mode )

There is currently no description for this method. Please help us by contributing one!


void set_point_left_tangent ( int index, float tangent )

There is currently no description for this method. Please help us by contributing one!


int set_point_offset ( int index, float offset )

There is currently no description for this method. Please help us by contributing one!


void set_point_right_mode ( int index, TangentMode mode )

There is currently no description for this method. Please help us by contributing one!


void set_point_right_tangent ( int index, float tangent )

There is currently no description for this method. Please help us by contributing one!


void set_point_value ( int index, float y )

There is currently no description for this method. Please help us by contributing one!