Class Component<T>

Type Parameters

Hierarchy

  • Component

Constructors

Properties

Constructors

Properties

isTag: boolean

true if the component has no schema

maxEntities: null | number

The maximum number of entities able to equip this component per world.

name: string

The component's label

schema: Readonly<Schema<T>>

The component's property definitions or null if component is a tag

size: number

The storage requirements of the schema in bytes for a single entity

Generated using TypeDoc