Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FMovieSceneSpawnRegister > API/Runtime/MovieScene/FMovieSceneSpawnRegister/DestroySpawnedObject
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/MovieSceneSpawnRegister.h |
| Include | #include "MovieSceneSpawnRegister.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/MovieSceneSpawnRegister.cpp |
bool DestroySpawnedObject
(
const FGuid & BindingId,
FMovieSceneSequenceIDRef TemplateID,
TSharedRef< const FSharedPlaybackState > SharedPlaybackState
)
Remarks
Destroy a specific previously spawned object True if an object was destroyed, false otherwise
Parameters
| Name | Description |
|---|---|
| BindingId | ID of the object to destroy |
| TemplateID | Identifier for the current template we're evaluating |
| Player | Movie scene player that is ultimately responsible for destroying the object |