API ReferenceSandbox.UI

RenderStateclass

Describes panel's position and size for rendering operations.

objectRenderState
Namespace
Sandbox.UI
Assembly
Sandbox.System
Declaration
public sealed struct Sandbox.UI.RenderState

Properties4

Showing 4 properties

public float Sandbox.UI.RenderState.Height { get; set; }PUBLICGETSET

Height of the panel.

Returns:float

public float Sandbox.UI.RenderState.Width { get; set; }PUBLICGETSET

Width of the panel.

Returns:float

public float Sandbox.UI.RenderState.X { get; set; }PUBLICGETSET

Position of the panel on the X axis. This can be a negative value!

Returns:float

public float Sandbox.UI.RenderState.Y { get; set; }PUBLICGETSET

Position of the panel on the Y axis. This can be a negative value!

Returns:float

On this page