Api Sandbox UI WorldPanel
class

WorldPanel

public class WorldPanel : RootPanel

An interactive 2D panel rendered in the 3D world.

Constructors

WorldPanel(SceneWorld world)

Properties

Name Type Description
ScreenToWorldScale static Single
Transform Transform Transform of the world panel in 3D space.
Tags ITagSet Tags that are applied to the underlying SceneObject
Position Vector3 Position of the world panel in 3D space.
Rotation Rotation Rotation of the world panel in 3D space.
WorldScale Single Scale of the world panel in 3D space.
MaxInteractionDistance Single Maximum distance at which a player can interact with this world panel.

Methods

virtual Void Delete(Boolean immediate = False)
virtual Void OnDeleted()
virtual Boolean RayToLocalPosition(Ray ray, Vector2 position, Single distance)
Assembly: Sandbox.Engine Namespace: Sandbox.UI Full Name: Sandbox.UI.WorldPanel