FMovieSceneSpawnRegister::DestroyObjectsByPredicate

Destroy spawned objects using a custom predicate

Windows
MacOS
Linux

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/MovieSceneSpawnRegister.h

Include

#include "MovieSceneSpawnRegister.h"

Source

/Engine/Source/Runtime/MovieScene/Private/MovieSceneSpawnRegister.cpp

Syntax

void DestroyObjectsByPredicate
(
    IMovieScenePlayer & Player,
    const TFunctionRef< bool &, ESpawnOwnership, FMovieSceneSequenceIDRef)> & Predicate
)

Remarks

Destroy spawned objects using a custom predicate

Parameters

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss