UiClip beta
Interface of @v12-engine/client
export interface UiClip extends ClipA clip of the interface lane: a part of the game's own interface put up for its stretch
Members
anchor
anchor?: 'above' | 'center' | 'below';Which part of the element is at the spot: its bottom middle (above), its middle (center) or its top (below)
height
height?: number;How far above the spot it is put
in
in?: number;For a title card: seconds it fades in over
layer
layer?: CutUiLayer;Where it goes: on the screen, over everything or pinned in the world (CutUiLayer)
offset
offset?: {
x?: number;
y?: number;
};How far off on the screen it is moved, in pixels along x and y
on
on?: string | Vec2;What it is pinned to in the world: a unit's name or a ref, or a spot
out
out?: number;For a title card: seconds it fades out over
props
props?: Record<string, unknown>;What the part is handed, as plain data
style
style?: string;For a title card: the name of its look
subtitle
subtitle?: string;For a title card: the words under the title
title
title?: string;Of a title card (the part title, TitleCard): its title, the words under it, its look, its seconds of fading in and out
ui
ui: string;The name of the interface part among the cinematic entry's (ui) or the script's (cut.uiParts)
z
z?: number;Its stacking among other elements of the layer