![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MovieSceneMutualComponentInclusivity.h>
Public Member Functions | |
| void | DefineMutualInclusionRule (FComponentTypeID Predicate, std::initializer_list< FComponentTypeID > Dependents) |
| void | DefineMutualInclusionRule (FComponentTypeID Predicate, std::initializer_list< FComponentTypeID > Dependents, FMutuallyInclusiveComponentParams &&InParams) |
| void | DefineComplexInclusionRule (const FComplexInclusivityFilter &InFilter, std::initializer_list< FComponentTypeID > Dependents) |
| void | DefineComplexInclusionRule (const FComplexInclusivityFilter &InFilter, std::initializer_list< FComponentTypeID > Dependents, FMutuallyInclusiveComponentParams &&InParams) |
| int32 | ComputeMutuallyInclusiveComponents (EMutuallyInclusiveComponentType TypesToCompute, const FComponentMask &InMask, FComponentMask &OutMask, FMutualComponentInitializers &OutInitializers) const |
A mutual inclusion graph for adding components to an entity based on the presence of other components
| int32 UE::MovieScene::FMutualInclusivityGraph::ComputeMutuallyInclusiveComponents | ( | EMutuallyInclusiveComponentType | TypesToCompute, |
| const FComponentMask & | InMask, | ||
| FComponentMask & | OutMask, | ||
| FMutualComponentInitializers & | OutInitializers | ||
| ) | const |
Populate a component mask with all the necessary mutually inclusive components given an input type. Mutual components that already existed in InMask will not be added or counted. Can be used to populate a new mask with only the mutual components, or to add the components to an existing mask.
| InMask | The input component type. Rules that are relevant to this type (directly or indirectly) will be applied to the output. |
| OutMask | Component mask to receieve the result. May point to the same mask as InMask in order to add the mutual components directly. |
| OutInitializers | Initializers that must be run for any new entities created from OutMask |
| void UE::MovieScene::FMutualInclusivityGraph::DefineComplexInclusionRule | ( | const FComplexInclusivityFilter & | InFilter, |
| std::initializer_list< FComponentTypeID > | Dependents | ||
| ) |
Define a new complex rule specifying that all of Dependents should exist if InFilter is matched
| void UE::MovieScene::FMutualInclusivityGraph::DefineComplexInclusionRule | ( | const FComplexInclusivityFilter & | InFilter, |
| std::initializer_list< FComponentTypeID > | Dependents, | ||
| FMutuallyInclusiveComponentParams && | InParams | ||
| ) |
| void UE::MovieScene::FMutualInclusivityGraph::DefineMutualInclusionRule | ( | FComponentTypeID | Predicate, |
| std::initializer_list< FComponentTypeID > | Dependents | ||
| ) |
Define a new rule specifying that all of Dependents should always exist if Predicate exists
| void UE::MovieScene::FMutualInclusivityGraph::DefineMutualInclusionRule | ( | FComponentTypeID | Predicate, |
| std::initializer_list< FComponentTypeID > | Dependents, | ||
| FMutuallyInclusiveComponentParams && | InParams | ||
| ) |