Skip to content

ScreenBox beta ​

Interface of @v12-engine/client

ts
export interface ScreenBox

The part of the frame the picture shows in, as shares of it: where the HUD lays out while there are bars

Members ​

h ​

ts
h: number;

Height of the box, as a share of the frame's height

w ​

ts
w: number;

Width of the box, as a share of the frame's width

x ​

ts
x: number;

Distance of the box's left edge from the frame's, as a share of its width

y ​

ts
y: number;

Distance of the box's top edge from the frame's, as a share of its height