Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FEntityBuilderImplBase
Description
Create a new entity using this builder's definition by moving the payload components into the new entity.
Will invalidate this instance of TEntityBuilder so its payload cannot be used again.
| Name | CreateEntity |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityBuilder.h |
| Include Path | #include "EntitySystem/MovieSceneEntityBuilder.h" |
FMovieSceneEntityID CreateEntity
(
FEntityManager * EntityManager,
FComponentMask NewType
)
The created entity's ID
Parameters
| Name | Remarks |
|---|---|
| EntityManager | The entity manager to create the entity within. All component types must relate to this class. |
| NewType | (Optional) An additional base type to use for the new entity. Any component types not stored by this builder will be default-constructed. |