Skip to content
You're viewing the docs for v0.18. The latest version is v0.20. Go to the latest docs

@ue-too/ecs / index / ComponentFieldDefinition

Type Alias: ComponentFieldDefinition ​

ComponentFieldDefinition = ComponentPrimitiveField | ComponentArrayField

Defined in: index.ts:204

Discriminated union for field definitions in a component schema. Use type guards to distinguish between primitive and array fields.