Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > EntitySystem > FEntityFactories > DefineChildComponent
References
Module | MovieScene |
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
&40;
TComponentTypeID< ParentComponent > InParentType,
TComponentTypeID< ChildComponent > InChildType,
InitializerCallback && InInitializer
&41;
Remarks
- 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.
-
include "EntitySystem/MovieSceneEntityFactoryTemplates.h" for definition