API ReferenceSandbox.UI
Imageclass
A generic box that displays a given texture within itself.
Constructors1
Showing 1 constructors
public Image()
No results match this filter.
Methods3
Showing 3 methods
public virtual void OnDraw()
Returns:
void—public virtual void SetProperty(string name, string value)
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
| value | string | — |
Returns:
void—public void SetTexture(string name)
Set `Sandbox.UI.Image.Texture` from a file path. URLs supported.
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
Returns:
void—No results match this filter.
Properties1
Showing 1 properties
No results match this filter.