Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FEntityFactories
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DefineChildComponent
(
FComponentTypeID InChildComponent |
Defines a component as something that should always be created on every child entity. | EntitySystem/MovieSceneEntityFactory.h | |
void DefineChildComponent
(
TInlineValue< FChildEntityInitializer >&& InInitializer |
Adds the definition for a child component. The helper methods above are easier and preferrable. | EntitySystem/MovieSceneEntityFactory.h | |
void DefineChildComponent
(
FComponentTypeID InParentComponent, |
Specifies that if a component is present on a parent entity, the given child component should be created on any child entity. | EntitySystem/MovieSceneEntityFactory.h | |
void DefineChildComponent
(
TComponentTypeID< ParentComponent > InParentType, |
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. | EntitySystem/MovieSceneEntityFactory.h |
DefineChildComponent(FComponentTypeID)
Description
Defines a component as something that should always be created on every child entity.
| Name | DefineChildComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityFactory.h |
| Include Path | #include "EntitySystem/MovieSceneEntityFactory.h" |
void DefineChildComponent
(
FComponentTypeID InChildComponent
)
DefineChildComponent(TInlineValue< FChildEntityInitializer > &&)
Description
Adds the definition for a child component. The helper methods above are easier and preferrable.
| Name | DefineChildComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityFactory.h |
| Include Path | #include "EntitySystem/MovieSceneEntityFactory.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/EntitySystem/MovieSceneEntityFactory.cpp |
void DefineChildComponent
(
TInlineValue < FChildEntityInitializer > && InInitializer
)
DefineChildComponent(FComponentTypeID, FComponentTypeID)
Description
Specifies that if a component is present on a parent entity, the given child component should be created on any child entity.
| Name | DefineChildComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityFactory.h |
| Include Path | #include "EntitySystem/MovieSceneEntityFactory.h" |
void DefineChildComponent
(
FComponentTypeID InParentComponent,
FComponentTypeID InChildComponent
)
DefineChildComponent(TComponentTypeID< ParentComponent >, TComponentTypeID< ChildComponent >, InitializerCallback &&)
Description
- 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
| Name | DefineChildComponent |
| 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 ParentComponent, typename ChildComponent, typename InitializerCallback>
void DefineChildComponent
(
TComponentTypeID < ParentComponent > InParentType,
TComponentTypeID < ChildComponent > InChildType,
InitializerCallback && InInitializer
)