Module |
|
Header |
/Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityFactory.h |
Include |
#include "EntitySystem/MovieSceneEntityFactory.h" |
Source |
/Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityFactoryTemplates.h |
template<typename ParentComponent, typename ChildComponent, typename InitializerCallback>
void DefineChildComponent
(
TComponentTypeID< ParentComponent > InParentType,
TComponentTypeID< ChildComponent > InChildType,
InitializerCallback && InInitializer
)
Specifies that if a component is present on a parent entity, the given child component should be created on any child entity, and initialized with the given initializer. @note include "EntitySystem/MovieSceneEntityFactoryTemplates.h" for definition