Navigation
API > API/Runtime > API/Runtime/MovieScene
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/MovieSceneSpawnable.h |
| Include | #include "MovieSceneSpawnable.h" |
Syntax
struct FMovieSceneSpawnable
Remarks
MovieSceneSpawnable describes an object that can be spawned for this MovieScene
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bContinuouslyRespawn | When enabled, this spawnable will always be respawned if it gets destroyed externally. | |
| bool | bNetAddressableName | When enabled, the actor will be spawned with a unique name so that it can be addressable between clients and servers. | |
| FMovieSceneDynamicBinding | DynamicBinding | Optional user-defined spawning information | |
| FName | LevelName | Name of level to spawn into | |
| FTransform | SpawnTransform | Optional spawn transform | |
| TArray< FName > | Tags | Array of tags that can be used for grouping and categorizing. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMovieSceneSpawnable
(
const FString& InitName, |
FMovieSceneSpawnable initialization constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddChildPossessable
(
const FGuid& PossessableGuid |
Report the specified GUID as being an inner possessable dependency for this spawnable | |
| void | Automatically determine a value for bNetAddressableName based on the spawnable type | ||
| void | CopyObjectTemplate
(
UObject& InSourceObject, |
Copy the specified object into this spawnable's template | |
| const TArray< FGuid > & | |||
| const FGuid & | GetGuid () |
Get the unique identifier of the spawnable object. | |
| FName | GetLevelName () |
Get the name of the level to spawn into. | |
| const FString & | GetName () |
Get the name of the spawnable object. | |
| FName | GetNetAddressableName
(
IMovieScenePlayer& Player, |
Get the name to use for spawning this object into a networked level | |
| const UObject * | Get the template object for this spawnable | ||
| UObject * | Get the template object for this spawnable | ||
| ESpawnOwnership | Get a value indicating what is responsible for this object once it's spawned | ||
| bool | IsSpawnableTemplate
(
const UObject& InObject |
Check if the specified object is a spawnable template | |
| void | MarkSpawnableTemplate
(
const UObject& InObject |
Indicate that the specified object is a spawnable template object | |
| void | RemoveChildPossessable
(
const FGuid& PossessableGuid |
Remove the specified GUID from this spawnables list of dependent possessables | |
| void | Set the unique identifier of this spawnable object | ||
| void | SetLevelName
(
FName InLevelName |
Set the name of the level to spawn into.The desired spawnable level name. | |
| void | Set the name of the spawnable object.The desired spawnable name. | ||
| void | SetObjectTemplate
(
UObject* InObjectTemplate |
Set the object template to the specified object directly. | |
| void | SetSpawnOwnership
(
ESpawnOwnership InOwnership |
Set a value indicating what is responsible for this object once it's spawned |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UClass > | GeneratedClass_DEPRECATED | Deprecated generated class |