Skip to content
EN

Variable: COMPONENTS ​

ts
const COMPONENTS: Record<string, {
  type?: string;
  displayName?: string;
  description?: string;
  defaults?: Record<string, unknown>;
  fields?: Record<string, {
     kind?: string;
     label?: string;
     description?: string;
     assetKinds?: string[];
     extensions?: string[];
     min?: number;
     max?: number;
     step?: number;
     options?: {
        value: string;
        label?: string;
     }[];
  }>;
}>;

Full Pixi component catalog, generated from src/components.js.

Treat this as the component/field source of truth. Do not invent component types or field names; if a type is missing, the engine package must define it.

Suity 开发者文档 · API 由 TypeDoc 从声明文件生成