ImageBox - LiruJ/GuiCookie GitHub Wiki
The ImageBox controller acts as a manager for the underlying ImageBlock component. This is a mostly empty class, existing purely to make interacting with dedicated image boxes easier.
public, OnCreated()
The underlying image block.
ClippingMode
This is used to determine how the image is drawn based on the size of the element itself.
Texture2D
The image texture that is drawn.
Color?
The colour applied to the image.
Image
The image that is displayed.
public, void
Finds the image with the given name in the ResourceManager and sets the image to it.
Throws an exception if the image with the given name does not exist.