GradientTexture2D

Inherits: Texture2D < Texture < Resource < RefCounted < Object

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

Properties

Fill

fill

0

Vector2

fill_from

Vector2(0, 0)

Vector2

fill_to

Vector2(1, 0)

Gradient

gradient

int

height

64

Repeat

repeat

0

bool

resource_local_to_scene

false (overrides Resource)

bool

use_hdr

false

int

width

64


Enumerations

enum Fill:

Fill FILL_LINEAR = 0

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

Fill FILL_RADIAL = 1

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

Fill FILL_SQUARE = 2

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


enum Repeat:

Repeat REPEAT_NONE = 0

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

Repeat REPEAT = 1

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

Repeat REPEAT_MIRROR = 2

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


Property Descriptions

Fill fill = 0

  • void set_fill ( Fill value )

  • Fill get_fill ( )

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


Vector2 fill_from = Vector2(0, 0)

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


Vector2 fill_to = Vector2(1, 0)

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


Gradient gradient

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


int height = 64

  • void set_height ( int value )

  • int get_height ( )

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


Repeat repeat = 0

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


bool use_hdr = false

  • void set_use_hdr ( bool value )

  • bool is_using_hdr ( )

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


int width = 64

  • void set_width ( int value )

  • int get_width ( )

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