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" |
void ReplaceEntity
&40;
FEntityManager &42; EntityManager,
FMovieSceneEntityID & InOutEntityID,
FComponentMask NewType
&41;
Remarks
Replace the components of an entity with this builder's definition.
Will invalidate this instance of TEntityBuilder so its payload cannot be used again.
Parameters
Name | 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. |