Module |
|
Header |
/Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityBuilder.h |
Include |
#include "EntitySystem/MovieSceneEntityBuilder.h" |
void ReplaceEntity
(
FEntityManager * EntityManager,
FMovieSceneEntityID & InOutEntityID,
FComponentMask NewType
)
Replace the components of an entity with this builder's definition. @note Will invalidate this instance of TEntityBuilder so its payload cannot be used again.
Parameter |
Description |
---|---|
EntityManager |
The entity manager that houses EntityID. All component types must relate to this class. |
EntityID |
The entity ID to replace |
NewType |
(Optional) An additional base type to use for the new entity. Any component types not stored by this builder will be default-constructed. |