GearBlocks
The GearBlocks Lua scripting API
Properties | List of all members
SmashHammer.UI.IImage Interface Reference

Provides access to a UI image's properties. More...

Inheritance diagram for SmashHammer.UI.IImage:
SmashHammer.UI.ButtonImage SmashHammer.UI.Image SmashHammer.UI.Shapes

Properties

TextureProxy Texture [get, set]
 The image's texture.
 
RectProxy UVRect [get, set]
 The image's texture UV rect.
 
Color32Proxy Colour [get, set]
 The image's colour.
 

Detailed Description

Provides access to a UI image's properties.

Property Documentation

◆ Texture

TextureProxy SmashHammer.UI.IImage.Texture
getset

The image's texture.

The texture displayed by this image.

◆ UVRect

RectProxy SmashHammer.UI.IImage.UVRect
getset

The image's texture UV rect.

The UV rect used by this image's texture.

◆ Colour

Color32Proxy SmashHammer.UI.IImage.Colour
getset

The image's colour.

The colour tint applied to this image.