Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FEntityFactories
Description
- Makes the given component automatically copied from a parent entity to all its children entities, but only if the parent entity passes the given InParentComponentMask.
-
include "EntitySystem/MovieSceneEntityFactoryTemplates.h" for definition
| Name | ConditionallyDuplicateChildComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityFactory.h |
| Include Path | #include "EntitySystem/MovieSceneEntityFactory.h" |
| Source | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityFactoryTemplates.h |
template<typename ComponentType>
void ConditionallyDuplicateChildComponent
(
TComponentTypeID < ComponentType > InComponent,
FComponentMask InParentComponentMask
)