Add an entity to this world
Add an entity in this world to a group in this world
Move group from other world to this one. A new handle will be generated!
Convenience builder to create a new Entity
Optional
uuid: stringQuery entities and find the ones with a certain combination of component.
To get a single entity by ID, please use the global function getEntity()
Optional
query: Readonly<IEntitiesQuery>Get all resources stored in this world. Useful for debugging
Optional
types: readonly TExistenceQueryParameter<any>[]Check whether an entity exists in this world
Load a prefab
Optional
options: Readonly<ISerDeOptions<TDeserializer>>Optional
intoGroup: numberMerge entities from another world into this one
Optional
intoGroup: numberRemove an entity from this world
Prepare a savable version of the current world. The query can be used to only save a sub-set with specific conditions
Optional
options: Readonly<ISerDeOptions<TSerializer>>Generated using TypeDoc
Add several entities in this world to a group in this world