 | GameBlueprintUtilsCreateEntity Method (EntityManager, Blueprint, AttributeTable) |
Creates an entity in the specified entity manager with the specified blueprint.
Uses the specified configuration for initialization.
Namespace: Slash.Application.GamesAssembly: Slash.Application (in Slash.Application.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static int CreateEntity(
EntityManager entityManager,
Blueprint blueprint,
AttributeTable configuration = null
)
Public Shared Function CreateEntity (
entityManager As EntityManager,
blueprint As Blueprint,
Optional configuration As AttributeTable = Nothing
) As Integer
public:
static int CreateEntity(
EntityManager^ entityManager,
Blueprint^ blueprint,
AttributeTable^ configuration = nullptr
)
static member CreateEntity :
entityManager : EntityManager *
blueprint : Blueprint *
?configuration : AttributeTable
(* Defaults:
let _configuration = defaultArg configuration null
*)
-> int
Parameters
- entityManager
- Type: Slash.ECS.ComponentsEntityManager
Entity manager to create entity at. - blueprint
- Type: Slash.ECS.BlueprintsBlueprint
Blueprint to use. - configuration (Optional)
- Type: Slash.Collections.AttributeTablesAttributeTable
Configuration to use for initialization of entity.
Return Value
Type:
Int32Id of created entity.
See Also