Navigation
API > API/Runtime > API/Runtime/MovieScene
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/MovieSceneSpawnable.h |
Include | #include "MovieSceneSpawnable.h" |
Syntax
USTRUCT ()
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. |
![]() ![]() |
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, |
|
![]() ![]() |
FName | GetNetAddressableName
(
TSharedRef< const UE::MovieScene::FSharedPlaybackState > SharedPlaybackState, |
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 | SetGuid
(
const FGuid& InGuid |
Set the unique identifier of this spawnable object |
![]() |
void | SetLevelName
(
FName InLevelName |
Set the name of the level to spawn into.@InLevelName The desired spawnable level name. |
![]() |
void | SetName
(
const FString& InName |
Set the name of the spawnable object.@InName 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 |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator<
(
const FGuid& InGuid |
|
![]() ![]() |
bool | operator<
(
const FMovieSceneSpawnable& RHS |
For sorts and BinarySearch so we can search quickly by Guid |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FMovieSceneDynamicBinding | DynamicBinding_DEPRECATED | Property has been deprecated- 'Dynamic Bindings' are now handled by UMovieSceneReplaceableDirectorBlueprintBinding and the custom binding system. |
![]() ![]() |
TObjectPtr< UClass > | GeneratedClass_DEPRECATED | Deprecated generated class |