Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FEntityManager
Description
Efficiently mutate all entities that match a filter. Mutations can add or remove components from batches of entity data.
| Name | MutateConditional |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityManager.h |
| Include Path | #include "EntitySystem/MovieSceneEntityManager.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/EntitySystem/MovieSceneEntityManager.cpp |
int32 MutateConditional
(
const FEntityComponentFilter & Filter,
const IMovieSceneConditionalEntityMutation & Mutation,
EMutuallyInclusiveComponentType MutualTypes
)
The number of entities that were mutated, or 0 if none were matched
Parameters
| Name | Remarks |
|---|---|
| Filter | The filter to match entity allocations against. Only entities that match the filter will be mutated |
| Mutation | Implementation that defines how to mutate the entities that match the filter |