Navigation
API > API/Runtime > API/Runtime/MovieScene
A class that contains all the component factory relationships.
A source component (imported from an entity provider) can trigger the creation of other components on the same entity or on children entities of its entity.
| Name | FEntityFactories |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityFactory.h |
| Include Path | #include "EntitySystem/MovieSceneEntityFactory.h" |
Syntax
struct FEntityFactories
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ChildInitializers | TArray< TInlineValue< FChildEntityInitializer > > | EntitySystem/MovieSceneEntityFactory.h | ||
| MutualInclusivityGraph | UE::MovieScene::FMutualInclusivityGraph | EntitySystem/MovieSceneEntityFactory.h | ||
| ParentToChildComponentTypes | TMultiMap< FComponentTypeID, FComponentTypeID > | EntitySystem/MovieSceneEntityFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 ComputeChildComponents
(
const FComponentMask& ParentComponentMask, |
Given a set of components on a parent entity, compute what components should exist on a child entity. | EntitySystem/MovieSceneEntityFactory.h | |
int32 ComputeMutuallyInclusiveComponents
(
EMutuallyInclusiveComponentType MutualTypes, |
Given a set of components on an entity, computes what other components should also exist on this entity. | EntitySystem/MovieSceneEntityFactory.h | |
void ConditionallyDuplicateChildComponent
(
TComponentTypeID< ComponentType > InComponent, |
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. | EntitySystem/MovieSceneEntityFactory.h | |
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 | |
void DefineComplexInclusiveComponents
(
const FComplexInclusivityFilter& InFilter, |
Specifies that if an entity matches the given filter, the specified component should be created on it. | EntitySystem/MovieSceneEntityFactory.h | |
void DefineComplexInclusiveComponents
(
const FComplexInclusivityFilter& InFilter, |
Specifies that if an entity matches the given filter, the specified components should be created on it. | EntitySystem/MovieSceneEntityFactory.h | |
void DefineMutuallyInclusiveComponent
(
FComponentTypeID InComponentA, |
Indicates that if the first component exists on an entity, the second component should be created on that entity too. | EntitySystem/MovieSceneEntityFactory.h | |
void DefineMutuallyInclusiveComponents
(
FComponentTypeID InComponentA, |
Indicates that if the first component exists on an entity, the specified components should be created on that entity too. | EntitySystem/MovieSceneEntityFactory.h | |
void DefineMutuallyInclusiveComponents
(
FComponentTypeID InComponentA, |
Specifies a mutual inclusivity relationship along with a custom initializer for initializing the mutual component(s) | EntitySystem/MovieSceneEntityFactory.h | |
void DuplicateChildComponent
(
TComponentTypeID< ComponentType > InComponent |
Makes the given component automatically copied from a parent entity to all its children entities. | EntitySystem/MovieSceneEntityFactory.h | |
void RunInitializers
(
const FComponentMask& ParentType, |
EntitySystem/MovieSceneEntityFactory.h |