UMovieSceneSpawnTrack

Handles when a spawnable should be spawned and destroyed

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MovieSceneTracks

Header

/Engine/Source/Runtime/MovieSceneTracks/Public/Tracks/MovieSceneSpawnTrack.h

Include

#include "Tracks/MovieSceneSpawnTrack.h"

Syntax

class UMovieSceneSpawnTrack : public UMovieSceneTrack

Remarks

Handles when a spawnable should be spawned and destroyed

Variables

Name Description

Protected variable

FGuid

 

ObjectGuid

The guid relating to the object we are to spawn and destroy

Protected variable

TArray< UMovieS...

 

Sections

All the sections in this track

Constructors

Name Description

Public function

UMovieSceneSpawnTrack

(
    const FObjectInitializer& Obj
)

Functions

Name Description

Public function Static

uint16

 

GetEvaluationPriority()

Public function Const

const FGuid ...

 

GetObjectId()

Get the object identifier that this spawn track controls

Public function

void

 

SetObjectId

(
    const FGuid& InGuid
)

Set the object identifier that this spawn track controls

Overridden from UMovieSceneTrack

Name Description

Public function Virtual

void

 

AddSection

(
    UMovieSceneSection& Section
)

Add a section to this track.

Public function Virtual

UMovieSceneS...

 

CreateNewSection()

Generates a new section suitable for use with this track.

Public function Virtual Const

FMovieSceneE...

 

CreateTemplateForSection

(
    const UMovieSceneSection& InSectio...
)

Create a movie scene eval template for the specified section

Public function Virtual Const

void

 

GenerateTemplate

(
    const FMovieSceneTrackCompilerArgs ...
)

Generate a template for this track

Public function Virtual Const

const TArray...

 

GetAllSections()

Called when all the sections of the track need to be retrieved.

Public function Virtual Const

ECookOptimiz...

 

GetCookOptimizationFlags()

Called when this track's movie scene is being cooked to determine if/how this track should be cooked.

Public function Virtual Const

FText

 

GetDisplayName()

Get the track's display name.

Public function Virtual Const

bool

 

HasSection

(
    const UMovieSceneSection& Section
)

Checks to see if the section is in this track.

Public function Virtual Const

bool

 

IsEmpty()

Public function Virtual Const

void

 

PostCompile

(
    FMovieSceneEvaluationTrack& Track,
    const FMovieSceneTrackCompilerArgs ...
)

Called after this track has been compiled, regardless of whether it was compiled through CustomCompile, or the default logic

Public function Virtual

void

 

RemoveAllAnimationData()

Removes animation data.

Public function Virtual

void

 

RemoveSection

(
    UMovieSceneSection& Section
)

Removes a section from this track.

Public function Virtual

void

 

RemoveSectionAt

(
    int32 SectionIndex
)

Removes a section from this track at a particular index

Public function Virtual Const

bool

 

SupportsType

(
    TSubclassOf< UMovieSceneSection > S...
)

Does this track support this section class type?

Overridden from UObject

Name Description

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss