s&box docs
API ReferenceSandbox.UI

public class Sandbox.UI.Box

Represents position and size of a `Sandbox.UI.Panel` on the screen.

Broader workflow and conceptual references connected to this API.

Constructors

Showing 1 constructors

public Box()

Properties

Showing 4 properties

public float Sandbox.UI.Box.Bottom { get; set; }

Position of the bottom edge in screen coordinates.

public float Sandbox.UI.Box.Left { get; set; }

Position of the left edge in screen coordinates.

public float Sandbox.UI.Box.Right { get; set; }

Position of the right edge in screen coordinates.

public float Sandbox.UI.Box.Top { get; set; }

Position of the top edge in screen coordinates.

Metadata

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

On this page