EntityManager
Summary
Methods
Method | Returns |
---|---|
GetIterator(entityType: string) | EntityIterator |
CreateEntity(entityData: DataContainer, transform: LinearTransform) | Entity | Component | nil |
CreateEntity(entityData: DataContainer, params: EntityCreationParams) | Entity | Component | nil |
CreateEntitiesFromBlueprint(blueprint: DataContainer, transform: LinearTransform) | EntityBus | nil |
CreateEntitiesFromBlueprint(blueprint: DataContainer, params: EntityCreationParams) | EntityBus | nil |
TraverseAllEntities(callback: callable) | void |
TraverseAllEntities(context: any, callback: callable) | void |
Methods
GetIterator
GetIterator(entityType: string): EntityIterator
Parameters
Name | Type | Description |
---|---|---|
entityType | string |
Returns
Type | Description |
---|---|
EntityIterator |
CreateEntity
CreateEntity(entityData: DataContainer, transform: LinearTransform): Entity | Component | nil
Parameters
Name | Type | Description |
---|---|---|
entityData | DataContainer | |
transform | LinearTransform |
Returns
Type | Description |
---|---|
Entity | Component | nil |
CreateEntity
CreateEntity(entityData: DataContainer, params: EntityCreationParams): Entity | Component | nil
Parameters
Name | Type | Description |
---|---|---|
entityData | DataContainer | |
params | EntityCreationParams |
Returns
Type | Description |
---|---|
Entity | Component | nil |
CreateEntitiesFromBlueprint
CreateEntitiesFromBlueprint(blueprint: DataContainer, transform: LinearTransform): EntityBus | nil
Parameters
Name | Type | Description |
---|---|---|
blueprint | DataContainer | |
transform | LinearTransform |
Returns
Type | Description |
---|---|
EntityBus | nil |
CreateEntitiesFromBlueprint
CreateEntitiesFromBlueprint(blueprint: DataContainer, params: EntityCreationParams): EntityBus | nil
Parameters
Name | Type | Description |
---|---|---|
blueprint | DataContainer | |
params | EntityCreationParams |
Returns
Type | Description |
---|---|
EntityBus | nil |
TraverseAllEntities
TraverseAllEntities(callback: callable)
Parameters
Name | Type | Description |
---|---|---|
callback | callable |
TraverseAllEntities
TraverseAllEntities(context: any, callback: callable)
Parameters
Name | Type | Description |
---|---|---|
context | any | |
callback | callable |
Last modified May 2, 2022: Add changelog for build 18616 (95be163f)