Skip to content

Function: defineComponents() ​

defineComponents<T>(components): ComponentManifest<T>

Defined in: packages/core/src/ecs/component-manifest.ts:29

Declare the complete set of application components shared by runtime and editor. Individual createComponent declarations remain unchanged.

Type Parameters ​

T ​

T extends readonly Component<AnySchema>[]

Parameters ​

components ​

T

Returns ​

ComponentManifest<T>

Privacy | Terms