Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/EntitySystem > API/Runtime/MovieScene/EntitySystem/FEntityManager
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityManager.h |
| Include | #include "EntitySystem/MovieSceneEntityManager.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/EntitySystem/MovieSceneEntityManager.cpp |
void ReplaceEntityID
&40;
FMovieSceneEntityID & InOutEntity,
FMovieSceneEntityID EntityToDiscard
&41;
Remarks
Replace an entity ID with the components from another, discarding the provided entity ID in the process
Parameters
| Name | Description |
|---|---|
| InOutEntity | The entity ID to be reassigned. If it is already valid, the existing entity will be freed |
| EntityToDiscard | The entity containing the components to replace InOutEntity with. This Entity ID will be invalid after this function call. |