Skip to content

UICanvas.ScreenSize Property

Definition

Namespace: Brine2D.UI

Current screen dimensions used to resolve UIAnchor positions and to center any UIDialog components. Update this whenever the window is resized. Defaults to 1280×720.

C#
public System.Numerics.Vector2 ScreenSize { get; set; }

Property Value

System.Numerics.Vector2