Variable: UIWindow
const UIWindow: Component<{
billboardWhileDragging: {
default: true;
type: Boolean;
};
closable: {
default: false;
type: Boolean;
};
dockable: {
default: false;
type: Boolean;
};
dockMode: {
default: "world-locked";
enum: {
BodyFollow: "body-follow";
HandLocked: "hand-locked";
HeadLocked: "head-locked";
WorldLocked: "world-locked";
};
type: Enum;
};
dragDelay: {
default: number;
type: Float32;
};
focusBias: {
default: number;
type: Float32;
};
followOffset: {
default: [number, number, number];
type: Vec3;
};
followSpeed: {
default: number;
type: Float32;
};
followTolerance: {
default: number;
type: Float32;
};
hand: {
default: Hand | "either";
enum: {
Either: "either";
Left: "left";
Right: "right";
};
type: Enum;
};
handAnchor: {
default: HandMenuAnchor;
enum: {
Above: "above";
Inside: "inside";
Outside: "outside";
Wrist: "wrist";
};
type: Enum;
};
handAnchorDistance: {
default: number;
type: Float32;
};
handOffset: {
default: [number, number, number];
type: Vec3;
};
minimizable: {
default: false;
type: Boolean;
};
movable: {
default: true;
type: Boolean;
};
palmAngle: {
default: number;
type: Float32;
};
palmGate: {
default: boolean;
type: Boolean;
};
pinnable: {
default: false;
type: Boolean;
};
targetHeight: {
default: number;
type: Float32;
};
targetWidth: {
default: number;
type: Float32;
};
title: {
default: string;
type: String;
};
windowId: {
default: string;
type: String;
};
}>;
Defined in: packages/iwsdk-uiextensions/src/components.ts:35
Marks a panel entity as a managed window with chrome, focus, docking and
drag behaviour. Pair with PanelUI whose markup contains the window chrome
elements (see WINDOW_CHROME_IDS / the Examples folder).