Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > EntitySystem > TEntityBuilderImpl< TIntegerSequence< int, Indices... >, T... >
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityBuilder.h |
Include | #include "EntitySystem/MovieSceneEntityBuilder.h" |
FMovieSceneEntityID CreateEntity
&40;
FEntityManager &42; EntityManager,
FComponentMask NewType
&41;
Remarks
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. The created entity's ID
Parameters
Name | Description |
---|---|
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. |