Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FMovieSceneSpawnRegister > API/Runtime/MovieScene/FMovieSceneSpawnRegister/SpawnObject
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/MovieSceneSpawnRegister.h |
| Include | #include "MovieSceneSpawnRegister.h" |
virtual UObject * SpawnObject
(
const FGuid & BindingId,
UMovieScene & MovieScene,
FMovieSceneSequenceIDRef Template,
TSharedRef< const FSharedPlaybackState > SharedPlaybackState,
int32 BindingIndex
)
Remarks
Spawn an object for the specified GUID, from the specified sequence instance. the spawned object, or nullptr on failure The version without the binding index is to support old clients of the previous API
Parameters
| Name | Description |
|---|---|
| BindingId | ID of the object to spawn |
| TemplateID | Identifier for the current template we're evaluating |
| Player | Movie scene player that is ultimately responsible for spawning the object |
| BindingIndex | For level sequences using custom spawnable bindings, the index of the binding reference. |