If true, the texture scales to fit its bounding rectangle.
If true, texture is flipped horizontally.
If true, texture is flipped vertically.
Controls the texture's behavior when resizing the node's bounding rectangle. See stretchmode.
The node's Texture resource.
Construct a new instance of TextureRect. Note: use memnew!TextureRect instead.
Control for drawing textures.
Used to draw icons and sprites in a user interface. The texture's placement can be controlled with the stretchMode property. It can scale, tile, or stay centered inside its bounding rectangle. Note: You should enable flipV when using a TextureRect to display a ViewportTexture. Alternatively, you can enable Viewport.renderTargetVFlip on the Viewport. Otherwise, the image will appear upside down.