Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > FMovieSceneSpawnRegister
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/MovieSceneSpawnRegister.h |
Include | #include "MovieSceneSpawnRegister.h" |
Source | /Engine/Source/Runtime/MovieScene/Private/MovieSceneSpawnRegister.cpp |
void DestroyObjectsByPredicate
&40;
IMovieScenePlayer & Player,
const TFunctionRef< bool(const FGuid &, ESpawnOwnership, FMovieSceneSequenceIDRef)> & Predicate
&41;
Remarks
Destroy spawned objects using a custom predicate
Parameters
Name | Description |
---|---|
Player | Movie scene player that is ultimately responsible for destroying the objects |
Predicate | Predicate used for testing whether an object should be destroyed. Returns true for destruction, false to skip. |