Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / components / UIPanelOptions

Type Alias: UIPanelOptions ​

ts
type UIPanelOptions = {
  width?: number;
  height?: number;
  backgroundColor?: string;
  backgroundOpacity?: number;
  cornerRadius?: number;
  borderWidth?: number;
  borderColor?: string;
  pixelDensity?: number;
  follow?: UiFollowMode;
};

Defined in: components/UIPanel.ts:7

Optional initializer for UIPanelComponent.

Properties ​

PropertyTypeDefined in
width?numbercomponents/UIPanel.ts:8
height?numbercomponents/UIPanel.ts:9
backgroundColor?stringcomponents/UIPanel.ts:10
backgroundOpacity?numbercomponents/UIPanel.ts:11
cornerRadius?numbercomponents/UIPanel.ts:12
borderWidth?numbercomponents/UIPanel.ts:13
borderColor?stringcomponents/UIPanel.ts:14
pixelDensity?numbercomponents/UIPanel.ts:15
follow?UiFollowModecomponents/UIPanel.ts:16