ClientUi

csharp
public static class ClientUi

Namespace NodeWorld.SDK.Client.XR.

Where the client's interface is drawn, above the world (plan Flux B3, « L'UI du client s'affiche au-dessus du monde »): in VR its canvases are on a layer of their own, drawn by the player's camera after the world and through it; on the screen its canvases sort above every canvas of the world. WorldScreenGuard keeps the worlds out of both.

Constants

Layer

csharp
public const int Layer = 31

The layer of the client's interface in the world (menu, notifications, keyboard, mic icon): the renderers of the client leave it out of their passes and the player's camera draws it last, over everything. No object of a world stays on it.

ScreenOrder

csharp
public const int ScreenOrder = 32000

The client's screen canvases sort from here up (the mic icon here, the loading screen 30 above).

WorldScreenOrderMax

csharp
public const int WorldScreenOrderMax = ScreenOrder - 1

The highest sorting order of a world's canvas drawn on the screen: always under the client's.