@ue-too/ecs / index / ComponentArrayField
インターフェイス: ComponentArrayField
定義: index.ts:188
Definition for an array field in a component schema.
拡張
BaseComponentField
プロパティ
arrayElementType
arrayElementType:
ArrayElementType
定義: index.ts:196
The element type for array fields (required). Specifies what type each element in the array should be. Can be a built-in type or a custom component type name.
defaultValue?
optionaldefaultValue:unknown
定義: index.ts:172
Default value for the field (used when creating new instances)
継承元
BaseComponentField.defaultValue
name
name:
string
定義: index.ts:168
The name of the field
継承元
BaseComponentField.name
optional?
optionaloptional:boolean
定義: index.ts:170
Whether the field is optional (default: false)
継承元
BaseComponentField.optional
type
type:
"array"
定義: index.ts:190
Discriminator for the union type