Module |
|
Header |
/Engine/Source/Runtime/MovieScene/Public/MovieSceneSpawnRegister.h |
Include |
#include "MovieSceneSpawnRegister.h" |
Source |
/Engine/Source/Runtime/MovieScene/Private/MovieSceneSpawnRegister.cpp |
void DestroyObjectsByPredicate
(
IMovieScenePlayer & Player,
const TFunctionRef< bool &, ESpawnOwnership, FMovieSceneSequenceIDRef)> & Predicate
)
Destroy spawned objects using a custom predicate
Parameter |
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. |