Instance Propertymigueldeicaza.swiftgodot 0.45.0SwiftGodot
stretchMode
Controls the texture’s behavior when resizing the node’s bounding rectangle. See StretchMode
.
final var stretchMode: TextureRect.StretchMode { get set }
Other members in extension
Types
Type members
Instance members
var expandMode: TextureRect.ExpandMode
Defines how minimum size is determined based on the texture’s size. See
ExpandMode
for options.var flipH: Bool
If
true
, texture is flipped horizontally.var flipV: Bool
If
true
, texture is flipped vertically.var texture: Texture2D?
The node’s
Texture2D
resource.