![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MovieSceneEntityFactory.h>
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.
| int32 UE::MovieScene::FEntityFactories::ComputeChildComponents | ( | const FComponentMask & | ParentComponentMask, |
| FComponentMask & | ChildComponentMask | ||
| ) |
Given a set of components on a parent entity, compute what components should exist on a child entity.
This resolves all the parent-to-child relationships.
| int32 UE::MovieScene::FEntityFactories::ComputeMutuallyInclusiveComponents | ( | EMutuallyInclusiveComponentType | MutualTypes, |
| FComponentMask & | ComponentMask, | ||
| FMutualComponentInitializers & | OutInitializers | ||
| ) |
Given a set of components on an entity, computes what other components should also exist on this entity.
This resolves all the mutual and complex inclusivity relationships.
|
inline |
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.
|
inline |
Defines a component as something that should always be created on every child entity.
|
inline |
Specifies that if a component is present on a parent entity, the given child component should be created on any child entity.
|
inline |
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.
| void UE::MovieScene::FEntityFactories::DefineChildComponent | ( | TInlineValue< FChildEntityInitializer > && | InInitializer | ) |
Adds the definition for a child component. The helper methods above are easier and preferrable.
| void UE::MovieScene::FEntityFactories::DefineComplexInclusiveComponents | ( | const FComplexInclusivityFilter & | InFilter, |
| FComponentTypeID | InComponent | ||
| ) |
Specifies that if an entity matches the given filter, the specified component should be created on it.
| void UE::MovieScene::FEntityFactories::DefineComplexInclusiveComponents | ( | const FComplexInclusivityFilter & | InFilter, |
| std::initializer_list< FComponentTypeID > | InComponents, | ||
| FMutuallyInclusiveComponentParams && | Params | ||
| ) |
Specifies that if an entity matches the given filter, the specified components should be created on it.
|
inline |
Indicates that if the first component exists on an entity, the second component should be created on that entity too.
| void UE::MovieScene::FEntityFactories::DefineMutuallyInclusiveComponents | ( | FComponentTypeID | InComponentA, |
| std::initializer_list< FComponentTypeID > | InMutualComponents | ||
| ) |
Indicates that if the first component exists on an entity, the specified components should be created on that entity too.
| void UE::MovieScene::FEntityFactories::DefineMutuallyInclusiveComponents | ( | FComponentTypeID | InComponentA, |
| std::initializer_list< FComponentTypeID > | InMutualComponents, | ||
| FMutuallyInclusiveComponentParams && | Params | ||
| ) |
Specifies a mutual inclusivity relationship along with a custom initializer for initializing the mutual component(s)
|
inline |
Makes the given component automatically copied from a parent entity to all its children entities.
| void UE::MovieScene::FEntityFactories::RunInitializers | ( | const FComponentMask & | ParentType, |
| const FComponentMask & | ChildType, | ||
| const FEntityAllocation * | ParentAllocation, | ||
| TArrayView< const int32 > | ParentAllocationOffsets, | ||
| const FEntityRange & | InChildEntityRange | ||
| ) |