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" |
| Source | /Engine/Source/Runtime/MovieScene/Private/MovieSceneSpawnRegister.cpp |
UObject * SpawnObject
(
const FGuid & BindingId,
UMovieScene & MovieScene,
FMovieSceneSequenceIDRef Template,
TSharedRef< const FSharedPlaybackState > SharedPlaybackState
)
Remarks
Spawn an object for the specified GUID, from the specified sequence instance. the spawned object, or nullptr on failure
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 |