Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > EntitySystem > FEntityManager > CopyComponents
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 CopyComponents
&40;
FMovieSceneEntityID SrcEntityID,
FMovieSceneEntityID DstEntityID,
const FComponentMask & ComponentsToCopy
&41;
Remarks
Copy any and all the specified component types from one entity onto another. Missing components on the source entity are handled gracefully.
Parameters
Name | Description |
---|---|
SrcEntityID | The ID of the entity to copy from |
DstEntityID | The ID of the entity to copy to |
ComponentsToCopy | A mask constituting the components that should be copied (set bits indicate components to copy) |