struct GUITextureContents

Structure describing contents of a GUITexture element.

Public

Constructors

GUITextureContents

GUITextureContents() = default

GUITextureContents

GUITextureContents(const HSpriteImage &image, TextureScaleMode scaleMode = TextureScaleMode::StretchToFit, bool isTransparent = true)

Fields

Image

HSpriteImage Image

Image to display.

If this is null then the image specified by the style will be used.

ScaleMode

Scale mode to use when sizing the texture.

IsTransparent

bool IsTransparent

Determines should the texture be rendered with transparency active.