CutUi beta
Class of @v12-engine/client
ts
export declare class CutUiA cinematic's interface (cut.ui): see the top of this file
Members
constructor
ts
constructor(cut: Cut);Constructs a new instance of the CutUi class
clear
ts
clear(): void;Everything it put up taken away: the cinematic is over
count
ts
get count(): number;How many things it has up now: for a test, a panel
mount
ts
mount(part: CutUiContent, options?: CutUiOptions, props?: Record<string, unknown>): CutMounted;Puts up an element or a component (CutUiContent) on a layer, until it is taken away (remove) or the cinematic is over. Nothing on a stage with no interface (a test's): the element is made all the same, and not shown
pin
ts
pin(part: CutUiContent, at: string | number | Vec2, options?: Omit<CutUiOptions, 'layer' | 'at'>): CutMounted;Pins an element or a component to a unit (followed) or a spot of the world: mount on the world layer