Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FMutualInclusivityGraph
Description
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.
| Name | ComputeMutuallyInclusiveComponents |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneMutualComponentInclusivity.h |
| Include Path | #include "EntitySystem/MovieSceneMutualComponentInclusivity.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/MovieSceneMutualComponentInclusivity.cpp |
int32 ComputeMutuallyInclusiveComponents
(
EMutuallyInclusiveComponentType TypesToCompute,
const FComponentMask & InMask,
FComponentMask & OutMask,
FMutualComponentInitializers & OutInitializers
) const
The number of new components added to OutMask. Only components that did not exist before are considered.
Parameters
| Name | Remarks |
|---|---|
| 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 |