Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FEntityManager
Description
Combine the components from one entity into another, overwriting any pre-existing component values. Does not free any entities.
| Name | CombineComponents |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityManager.h |
| Include Path | #include "EntitySystem/MovieSceneEntityManager.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/EntitySystem/MovieSceneEntityManager.cpp |
void CombineComponents
(
FMovieSceneEntityID DestinationEntityID,
FMovieSceneEntityID SourceEntityID,
const FComponentMask * OptionalMask
)
Parameters
| Name | Remarks |
|---|---|
| DestinationEntityID | The ID of the entity to add new components to |
| SourceEntityID | The ID of the entity to copy components from |
| OptionalMask | (Optional) A mask constituting the components that should be copied |