Skip to content

VideoBox beta ​

Interface of @v12-engine/client

ts
export interface VideoBox

Where a video's box is on the screen, and how clear it is: shares of the screen from its top left

Members ​

height ​

ts
height?: number;

The box's height, as a share of the screen's height

opacity ​

ts
opacity?: number;

How opaque the video is, 0..1

width ​

ts
width?: number;

The box's width, as a share of the screen's width

x ​

ts
x?: number;

The box's left edge, as a share of the screen's width from its left

y ​

ts
y?: number;

The box's top edge, as a share of the screen's height from its top