Api Sandbox UI Image
class

Image

public class Image : Panel

A generic box that displays a given texture within itself.

Constructors

Image()

Properties

Name Type Description
Texture Texture The texture being displayed by this panel.
HasContent virtual Boolean

Methods

Void SetTexture(String name)

Set Texture from a file path. URLs supported.

virtual Void SetProperty(String name, String value)
Assembly: Sandbox.Engine Namespace: Sandbox.UI Full Name: Sandbox.UI.Image