WorldPanelclass

Renders any attached PanelComponents to the world in 3D space.

object→Renderer→WorldPanel
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.WorldPanel : Sandbox.Renderer

Constructors1

Showing 1 constructors

public WorldPanel()PUBLICCONSTRUCTOR

Methods1

Showing 1 methods

public virtual sealed Sandbox.UI.Panel GetPanel()PUBLICVIRTUAL

Returns:Panel—

Properties7

Showing 7 properties

public Sandbox.WorldPanel.HAlignment Sandbox.WorldPanel.HorizontalAlign { get; set; }PUBLICGETSET

Returns:HAlignment—

public float Sandbox.WorldPanel.InteractionRange { get; set; }PUBLICGETSET

How far can we interact with this world panel?

Returns:float—

public bool Sandbox.WorldPanel.Lighting { get; set; }PUBLICGETSET

Whether the panel is affected by lighting.

Returns:bool—

public bool Sandbox.WorldPanel.LookAtCamera { get; set; }PUBLICGETSET

Returns:bool—

public Vector2 Sandbox.WorldPanel.PanelSize { get; set; }PUBLICGETSET

Returns:Vector2—

public float Sandbox.WorldPanel.RenderScale { get; set; }PUBLICGETSET

Returns:float—

public Sandbox.WorldPanel.VAlignment Sandbox.WorldPanel.VerticalAlign { get; set; }PUBLICGETSET

Returns:VAlignment—

On this page