UICanvas Class
Definition
Namespace: Brine2D.UI
Canvas that contains and manages UI components. Handles input routing and rendering.
Inheritance System.Object → UICanvas
Implements IInputLayer
| Properties | |
|---|---|
| Priority | UI has high priority so it intercepts input first. |
| Methods | |
|---|---|
| ProcessKeyboardInput\(IInputContext, bool\) | Process keyboard input for UI. Returns true if input was consumed. When consumed is true, unfocuses any active text input. |
| ProcessMouseInput\(IInputContext, bool\) | Process mouse input for UI. Returns true if input was consumed. When consumed is true, clears hover/press state. |