TextureRect

Inherits: Control < CanvasItem < Node < Object

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

Properties

ExpandMode

expand_mode

0

bool

flip_h

false

bool

flip_v

false

MouseFilter

mouse_filter

1 (overrides Control)

StretchMode

stretch_mode

0

Texture2D

texture


Enumerations

enum ExpandMode:

ExpandMode EXPAND_KEEP_SIZE = 0

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

ExpandMode EXPAND_IGNORE_SIZE = 1

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

ExpandMode EXPAND_FIT_WIDTH = 2

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

ExpandMode EXPAND_FIT_WIDTH_PROPORTIONAL = 3

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

ExpandMode EXPAND_FIT_HEIGHT = 4

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

ExpandMode EXPAND_FIT_HEIGHT_PROPORTIONAL = 5

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


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

ExpandMode expand_mode = 0

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


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!


StretchMode stretch_mode = 0

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


Texture2D texture

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