Table of Contents

Enum UILayer

Namespace
Velvet
Assembly
Velvet.Docs.dll

Framework-managed screen-space layer panels a Portal(UILayer, VNode?[]?, string?) can target, sorted around the app's main panel. Screen-space panels always composite over the 3D scene (the engine's compositor draws overlay panels after cameras) — UI that must sit among or behind scene geometry is WorldSpace(Vector3, Quaternion?, Vector2?, VNode?[]?, string?)'s depth-tested territory instead.

public enum UILayer

Fields

Background = 0

Below the app's main panel (still over the 3D scene) — backdrops, ambient chrome.

Overlay = 1

Above the app's main panel — floating panels, drag ghosts.

Topmost = 2

Above everything — toasts, modals, debug chrome.