UICanvas Class
Canvas that contains and manages UI components. Handles input routing and rendering.
public class UICanvas : Brine2D.Input.IInputLayer
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. |