WorldPanels let you render and interact with UI within the world. They are actually being drawn in the world, in the right transparent draw order. So they draw behind things and in front of things like you'd expect. Great for name tags etc.
A WorldPanel inherits all the behavior of a RootPanel meaning you can use it exactly the same as any standard UI panel, the only difference is it renders to the world.
Creating world panels is nearly identical to creating any other UI panel, however instead of deriving from a Panel we derive from a WorldPanel.
The world panel can then be spawned simply as if it's an entity, setting it's position and rotation.
In order to interact with WorldPanels your game needs to call WorldInput.Update periodically, this emulates mouse inputs on all WorldPanels.
Like entities, world panels are not garbage collected - in order to remove your panel you need to call