s&box docs
API ReferenceSandbox.UI

public class Sandbox.UI.Image : Sandbox.UI.Panel

A generic box that displays a given texture within itself.

Broader workflow and conceptual references connected to this API.

Constructors

Showing 1 constructors

Methods

Showing 3 methods

public virtual void OnDraw()

public virtual void SetProperty(string name, string value)

public void SetTexture(string name)

Set `Sandbox.UI.Image.Texture` from a file path. URLs supported.

Properties

Showing 1 properties

Metadata

FieldValue
NamespaceSandbox.UI
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.UI.Image

On this page