TextureFrame

Inherits: Control < CanvasItem < Node < Object

Category: Core

Brief Description

Control Frame that draws a texture.

Member Functions

Color get_modulate ( ) const
Object get_texture ( ) const
bool has_expand ( ) const
void set_expand ( bool enable )
void set_modulate ( Color modulate )
void set_texture ( Object texture )

Description

Control frame that simply draws an assigned texture. It can stretch or not. It’s a simple way to just show an image in a UI.

Member Function Description

  • Color get_modulate ( ) const
  • Object get_texture ( ) const
  • bool has_expand ( ) const
  • void set_expand ( bool enable )
  • void set_modulate ( Color modulate )
  • void set_texture ( Object texture )