Gradient
Inherits: Resource < RefCounted < Object
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
|
||
|
Methods
void |
|
get_offset ( int point ) |
|
get_point_count ( ) const |
|
void |
remove_point ( int point ) |
void |
reverse ( ) |
void |
|
void |
set_offset ( int point, float offset ) |
Enumerations
enum InterpolationMode:
InterpolationMode GRADIENT_INTERPOLATE_LINEAR = 0
There is currently no description for this enum. Please help us by contributing one!
InterpolationMode GRADIENT_INTERPOLATE_CONSTANT = 1
There is currently no description for this enum. Please help us by contributing one!
InterpolationMode GRADIENT_INTERPOLATE_CUBIC = 2
There is currently no description for this enum. Please help us by contributing one!
enum ColorSpace:
ColorSpace GRADIENT_COLOR_SPACE_SRGB = 0
There is currently no description for this enum. Please help us by contributing one!
ColorSpace GRADIENT_COLOR_SPACE_LINEAR_SRGB = 1
There is currently no description for this enum. Please help us by contributing one!
ColorSpace GRADIENT_COLOR_SPACE_OKLAB = 2
There is currently no description for this enum. Please help us by contributing one!
Property Descriptions
PackedColorArray colors = PackedColorArray(0, 0, 0, 1, 1, 1, 1, 1)
void set_colors ( PackedColorArray value )
PackedColorArray get_colors ( )
There is currently no description for this property. Please help us by contributing one!
ColorSpace interpolation_color_space = 0
void set_interpolation_color_space ( ColorSpace value )
ColorSpace get_interpolation_color_space ( )
There is currently no description for this property. Please help us by contributing one!
InterpolationMode interpolation_mode = 0
void set_interpolation_mode ( InterpolationMode value )
InterpolationMode get_interpolation_mode ( )
There is currently no description for this property. Please help us by contributing one!
PackedFloat32Array offsets = PackedFloat32Array(0, 1)
void set_offsets ( PackedFloat32Array value )
PackedFloat32Array get_offsets ( )
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
void add_point ( float offset, Color color )
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
float get_offset ( int point )
There is currently no description for this method. Please help us by contributing one!
int get_point_count ( ) const
There is currently no description for this method. Please help us by contributing one!
void remove_point ( int point )
There is currently no description for this method. Please help us by contributing one!
void reverse ( )
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
void set_color ( int point, Color color )
There is currently no description for this method. Please help us by contributing one!
void set_offset ( int point, float offset )
There is currently no description for this method. Please help us by contributing one!