the component's specification.
Readonly
istrue
if the component has no schema
Readonly
maxThe maximum number of entities able to equip this component per world.
Readonly
nameThe component's label
Readonly
schemaThe component's property definitions or null
if component is a tag
Readonly
sizeThe storage requirements of the schema in bytes for a single entity
Generated using TypeDoc
Define a new component.
Returns
A valid Component object - a reusable definitions for the creation of ComponentInstances
Throws
If the spec is invalid