Module |
|
Header |
/Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityBuilder.h |
Include |
#include "EntitySystem/MovieSceneEntityBuilder.h" |
FMovieSceneEntityID CreateEntity
(
FEntityManager * EntityManager,
FComponentMask NewType
)
Create a new entity using this builder's definition by moving the payload components into the new entity. @note Will invalidate this instance of TEntityBuilder so its payload cannot be used again.
The created entity's ID
Parameter |
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. |