Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > Tracks
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMovieSceneSignedObject
- UMovieSceneTrack
- UMovieSceneSpawnTrack
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/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
Type | Name | Description | |
---|---|---|---|
![]() |
FGuid | ObjectGuid | The guid relating to the object we are to spawn and destroy |
![]() |
TArray< TObjectPtr< UMovieSceneSection > > | Sections | All the sections in this track |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMovieSceneSpawnTrack
(
const FObjectInitializer& Obj |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
uint16 | ||
![]() ![]() |
const FGuid & | GetObjectId () |
Get the object identifier that this spawn track controls |
![]() ![]() |
void | PopulateSpawnedRangeMask
(
const TRange< FFrameNumber >& InOverlap, |
|
![]() |
void | SetObjectId
(
const FGuid& InGuid |
Set the object identifier that this spawn track controls |
Overridden from UMovieSceneTrack
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddSection
(
UMovieSceneSection& Section |
Add a section to this track. |
![]() ![]() |
UMovieSceneSection * | Generates a new section suitable for use with this track. | |
![]() ![]() ![]() |
const TArray< UMovieSceneSection * > & | Called when all the sections of the track need to be retrieved. | |
![]() ![]() ![]() |
ECookOptimizationFlags | Called when this track's movie scene is being cooked to determine if/how this track should be cooked. | |
![]() ![]() ![]() |
FText | Get the track's display name. | |
![]() ![]() ![]() |
bool | HasSection
(
const UMovieSceneSection& Section |
Checks to see if the section is in this track. |
![]() ![]() ![]() |
bool | IsEmpty () |
|
![]() ![]() |
void | Removes animation data. | |
![]() ![]() |
void | RemoveSection
(
UMovieSceneSection& Section |
Removes a section from this track. |
![]() ![]() |
void | RemoveSectionAt
(
int32 SectionIndex |
Removes a section from this track at a particular index |
![]() ![]() ![]() |
bool | SupportsType
(
TSubclassOf< UMovieSceneSection > SectionClass |
Does this track support this section class type? |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |