TextureButton

Inherits: BaseButton < Control < CanvasItem < Node < Object

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

Properties

bool

flip_h

false

bool

flip_v

false

bool

ignore_texture_size

false

StretchMode

stretch_mode

2

BitMap

texture_click_mask

Texture2D

texture_disabled

Texture2D

texture_focused

Texture2D

texture_hover

Texture2D

texture_normal

Texture2D

texture_pressed


Enumerations

enum StretchMode:

StretchMode STRETCH_SCALE = 0

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

StretchMode STRETCH_TILE = 1

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

StretchMode STRETCH_KEEP = 2

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

StretchMode STRETCH_KEEP_CENTERED = 3

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

StretchMode STRETCH_KEEP_ASPECT = 4

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

StretchMode STRETCH_KEEP_ASPECT_CENTERED = 5

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

StretchMode STRETCH_KEEP_ASPECT_COVERED = 6

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


Property Descriptions

bool flip_h = false

  • void set_flip_h ( bool value )

  • bool is_flipped_h ( )

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


bool flip_v = false

  • void set_flip_v ( bool value )

  • bool is_flipped_v ( )

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


bool ignore_texture_size = false

  • void set_ignore_texture_size ( bool value )

  • bool get_ignore_texture_size ( )

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


StretchMode stretch_mode = 2

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


BitMap texture_click_mask

  • void set_click_mask ( BitMap value )

  • BitMap get_click_mask ( )

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


Texture2D texture_disabled

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


Texture2D texture_focused

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


Texture2D texture_hover

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


Texture2D texture_normal

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


Texture2D texture_pressed

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