Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene
Inheritance Hierarchy
- TSharedFromThis
- FMovieSceneSpawnRegister
- FLevelSequenceSpawnRegister
- FLevelSequenceEditorSpawnRegister
- FTemplateSequenceSpawnRegister
- FNullMovieSceneSpawnRegister
- FSequenceCameraShakeSpawnRegister
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/MovieSceneSpawnRegister.h |
Include | #include "MovieSceneSpawnRegister.h" |
Syntax
class FMovieSceneSpawnRegister : public TSharedFromThis< FMovieSceneSpawnRegister >
Remarks
Class responsible for managing spawnables in a movie scene
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bCleaningUp | True when cleaning ourselves up. |
![]() |
TMap< FMovieSceneSpawnRegisterKey, FSpawnedObject > | Register | Register of spawned objects |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Virtual destructor |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | CanConvertSpawnableToPossessable
(
FMovieSceneSpawnable& Spawnable |
Check whether the specified Spawnable can become a Possessable. |
![]() ![]() ![]() |
bool | CanSpawnObject
(
UClass* InClass |
Whether this class is supported as a spawnable |
![]() |
void | CleanUp
(
IMovieScenePlayer& Player |
Called to indiscriminately clean up any spawned objects |
![]() |
void | CleanUpSequence
(
FMovieSceneSequenceIDRef TemplateID, |
Called to clean up any non-externally owned spawnables that were spawned from the specified instance |
![]() ![]() |
TValueOrError< FNewSpawnable, FText > | CreateNewSpawnableType
(
UObject& SourceObject, |
Create a new spawnable type from the given source object |
![]() |
void | DestroyObjectDirectly
(
UObject& InObject |
Destroy a specific previously spawned object, where its binding ID and sequence ID is not known. |
![]() |
void | DestroyObjectsByPredicate
(
IMovieScenePlayer& Player, |
Destroy spawned objects using a custom predicate |
![]() |
bool | DestroySpawnedObject
(
const FGuid& BindingId, |
Destroy a specific previously spawned object |
![]() |
void | DestroySpawnedObject
(
UObject& Object |
Destroy a specific previously spawned object |
![]() ![]() |
TWeakObjectPtr | FindSpawnedObject
(
const FGuid& BindingId, |
Attempt to find a previously spawned object represented by the specified object and template IDs |
![]() |
void | ForgetExternallyOwnedSpawnedObjects
(
FMovieSceneEvaluationState& State, |
Purge any memory of any objects that are considered externally owned |
![]() ![]() |
void | HandleConvertPossessableToSpawnable
(
UObject* OldObject, |
Called to handle cleanup of objects when we convert a possessable to a spawnable object |
![]() |
void | OnSequenceExpired
(
FMovieSceneSequenceIDRef TemplateID, |
Called when the current time has moved beyond the specified sequence's play range |
![]() ![]() |
void | PreDestroyObject
(
UObject& Object, |
Called right before a spawned object with the specified ID and template ID is destroyed |
![]() ![]() |
void | SaveDefaultSpawnableState
(
FMovieSceneSpawnable& Spawnable, |
Called to save the default state of the specified spawnable |
![]() ![]() |
void | SetupDefaultsForSpawnable
(
UObject* SpawnedObject, |
Setup a new spawnable object with some default tracks and keys |
![]() |
UObject * | SpawnObject
(
FMovieSceneSpawnable& Spawnable, |
Spawn an object for the specified GUID, from the specified sequence instance. |
![]() |
UObject * | SpawnObject
(
const FGuid& BindingId, |
Spawn an object for the specified GUID, from the specified sequence instance. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FMovieSceneSpawnRegisterKey | Helper key type for mapping a guid and sequence instance to a specific value | |
![]() |
FSpawnedObject | Structure holding information pertaining to a spawned object |