Navigation
API > API/Runtime > API/Runtime/MovieScene
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMovieSceneSignedObject
- UMovieScene
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/MovieScene.h |
| Include | #include "MovieScene.h" |
Syntax
class UMovieScene : public UMovieSceneSignedObject
Remarks
Implements a movie scene asset.
Variables
| Type | Name | Description | |
|---|---|---|---|
| UE::MovieScene::TDataEventContainer< UE::MovieScene::ISequenceDataEventHandler > | EventHandlers |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMovieScene
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UMovieSceneTrack * | AddCameraCutTrack
(
TSubclassOf< UMovieSceneTrack > TrackClass |
Adds a new camera cut track if it doesn't exist A camera cut track allows for cutting between camera views There is only one per movie scene. | |
| bool | AddGivenTrack
(
UMovieSceneTrack* InTrack, |
Adds a given track. | |
| bool | AddGivenTrack
(
UMovieSceneTrack* InTrack |
Adds a given track as a track | |
| int32 | AddMarkedFrame
(
const FMovieSceneMarkedFrame& InMarkedFrame |
Add a given user marked frame. | |
| void | AddNewBindingTag
(
const FName& NewTag |
Add a new binding group for the specified name | |
| FGuid | AddPossessable
(
const FString& Name, |
Adds a possessable to this movie scene. | |
| void | AddPossessable
(
const FMovieScenePossessable& InNewPossessable, |
Adds an existing possessable to this movie scene. | |
| void | AddRootFolder
(
UMovieSceneFolder* Folder |
Adds a root folder for this movie scene. | |
| void | AddSpawnable
(
const FMovieSceneSpawnable& InNewSpawnable, |
Adds an existing spawnable to this movie scene. | |
| FGuid | AddSpawnable
(
const FString& Name, |
Add a spawnable to this movie scene's list of owned blueprints. | |
| TrackClass * | Adds a track.Note: The type should not already exist. | ||
| UMovieSceneTrack * | AddTrack
(
TSubclassOf< UMovieSceneTrack > TrackClass, |
Adds a track.Note: The type should not already exist. | |
| TrackClass * | AddTrack () |
Adds a track.Note: The type should not already exist. | |
| UMovieSceneTrack * | AddTrack
(
TSubclassOf< UMovieSceneTrack > TrackClass |
Adds a track.Note: The type should not already exist. | |
| const TMap< FName, FMovieSceneObjectBindingIDs > & | Retrieve all the tagged binding groups for this movie scene | ||
| bool | Return whether marked frames are locked. | ||
| void | Cleans stale UMovieSceneSection pointers, and removes any section groups which are no longer valid, e.g. contain less that two valid sections | ||
| bool | ContainsTrack
(
const UMovieSceneTrack& Track |
Check whether the specified track is a track in this movie scene. | |
| void | DeclareConstructClasses
(
TArray< FTopLevelAssetPath >& OutConstructClasses, |
||
| void | DeleteMarkedFrame
(
int32 DeleteIndex |
Delete the user marked frame by index.The index to the user marked frame to delete | |
| void | Delete all user marked frames | ||
| void | Removes all root folders from this movie scene (does not delete tracks or objects contained within) | ||
| FMovieSceneBinding * | FindBinding
(
const FGuid& ForGuid |
Tries to find an FMovieSceneBinding for the specified Guid. | |
| int32 | FindMarkedFrameByFrameNumber
(
FFrameNumber InFrameNumber |
Find the user marked frame by frame numberThe frame number of the user marked frame to find | |
| int32 | FindMarkedFrameByLabel
(
const FString& InLabel |
Find the user marked frame by labelThe label to the user marked frame to find | |
| int32 | FindNextMarkedFrame
(
FFrameNumber InFrameNumber, |
Find the next/previous user marked frame from the given frame number | |
| FMovieScenePossessable * | FindPossessable
(
const FGuid& Guid |
Tries to locate a possessable in this MovieScene for the specified possessable GUID. | |
| FMovieScenePossessable * | FindPossessable
(
const TFunctionRef< bool(FMovieScenePossessable&)>& InPredicate |
Attempt to find a possessable using some custom prdeicate | |
| FMovieSceneSpawnable * | FindSpawnable
(
const FGuid& Guid |
Tries to locate a spawnable in this MovieScene for the specified spawnable GUID. | |
| FMovieSceneSpawnable * | FindSpawnable
(
const TFunctionRef< bool(FMovieSceneSpawnable&)>& InPredicate |
Attempt to find a spawnable using some custom predicate | |
| UMovieSceneTrack * | FindTrack
(
TSubclassOf< UMovieSceneTrack > TrackClass, |
Finds a track. | |
| TrackClass * | Finds a track. | ||
| TrackClass * | FindTrack () |
Finds a track (one not bound to a runtime objects). | |
| UMovieSceneTrack * | FindTrack
(
TSubclassOf< UMovieSceneTrack > TrackClass |
Finds a track (one not bound to a runtime objects). | |
| bool | FindTrackBinding
(
const UMovieSceneTrack& InTrack, |
Find a track binding Guid from a UMovieSceneTrack | |
| TArray< UMovieSceneTrack * > | FindTracks
(
TSubclassOf< UMovieSceneTrack > TrackClass, |
Find all tracks of a given class. | |
| TArray< UMovieSceneSection * > | Returns all sections and their associated binding data. | ||
| const TArray< FMovieSceneBinding > & | GetBindings () |
||
| UMovieSceneTrack * | |||
| EUpdateClockSource | Retrieve the clock source to be used for this moviescene | ||
| FFrameRate | Retrieve the display frame rate for this data, in which frame numbers should be displayed on UI, and interacted with in movie scene players | ||
| FMovieSceneTimecodeSource | Get the earliest timecode source out of all of the movie scene sections contained within this movie scene. | ||
| FMovieSceneEditorData & | |||
| const FMovieSceneEditorData & | |||
| EMovieSceneEvaluationType | Retrieve a value signifying how to evaluate this movie scene data | ||
| bool | Returns whether this scene's marked frames should be shown globally | ||
| const TArray< FMovieSceneMarkedFrame > & | |||
| TArray< FString > & | GetMuteNodes () |
Gets the nodes marked as muted in the editor, as node tree paths | |
| UMovieSceneNodeGroupCollection & | |||
| int32 | Gets the number of root folders in this movie scene. | ||
| FText | GetObjectDisplayName
(
const FGuid& ObjectId |
Get the display name of the object with the specified identifier. | |
| TMap< FString, FMovieSceneTrackLabels > & | |||
| TRange< FFrameNumber > | Get the playback time range of this movie scene, relative to its 0-time offset. | ||
| FMovieScenePossessable & | GetPossessable
(
const int32 Index |
Grabs a reference to a specific possessable by index. | |
| int32 | Get the number of possessable objects in this scene. | ||
| UMovieSceneFolder * | GetRootFolder
(
int32 FolderIndex |
Gets the i-th root folder for this movie scene. | |
| void | GetRootFolders
(
TArray< UMovieSceneFolder* >& InRootFolders |
Gets a copy of the root folders for this movie scene. | |
| TArrayView< UMovieSceneFolder *const > | Gets the root folders for this movie scene. | ||
| const FMovieSceneSectionGroup * | GetSectionGroup
(
const UMovieSceneSection& InSection |
||
| TRange< FFrameNumber > | Get the current selection range. | ||
| TArray< FString > & | GetSoloNodes () |
Gets the nodes marked as solo in the editor, as node tree paths | |
| FMovieSceneSpawnable & | GetSpawnable
(
int32 Index |
Grabs a reference to a specific spawnable by index. | |
| int32 | Get the number of spawnable objects in this scene. | ||
| FFrameRate | Retrieve the tick resolution at which all frame numbers within this movie scene are defined | ||
| const TArray< UMovieSceneTrack * > & | GetTracks () |
Get all tracks. | |
| void | GroupSections
(
const TArray< UMovieSceneSection* > InSections |
Create a group containing InSections, merging any existing groups the sections are in | |
| bool | Return whether the playback range is locked. | ||
| bool | IsReadOnly () |
||
| bool | IsSectionInGroup
(
const UMovieSceneSection& InSection |
||
| bool | IsTrackClassAllowed
(
UClass* InClass |
||
| TSharedPtr< FMovieSceneTimeController > | MakeCustomTimeController
(
UObject* PlaybackContext |
Retrieve a time controller from this sequence instance, if the clock source is set to custom | |
| void | MoveBindingContents
(
const FGuid& SourceBindingId, |
Move all the contents (tracks, child bindings) of the specified binding ID onto another | |
| FMovieSceneOnChannelChanged & | WIP Set of Delegates. | ||
| void | OnDynamicBindingUserDefinedPinRenamed
(
UK2Node* InNode, |
||
| void | RemoveBinding
(
const FGuid& Guid |
Removes animation data bound to a GUID. | |
| void | Removes the camera cut track if it exists. | ||
| bool | RemovePossessable
(
const FGuid& PossessableGuid |
Removes a possessable from this movie scene. | |
| bool | RemoveRootFolder
(
int32 FolderIndex |
Removes a root folder for this movie scene (does not delete tracks or objects contained within) | |
| int32 | RemoveRootFolder
(
UMovieSceneFolder* Folder |
Removes a root folder for this movie scene (does not delete tracks or objects contained within) | |
| bool | RemoveSpawnable
(
const FGuid& Guid |
Removes a spawnable from this movie scene. | |
| void | Remove the specified tag from any binding and forget about it completely | ||
| bool | RemoveTrack
(
UMovieSceneTrack& Track |
Removes a track. | |
| void | ReplaceBinding
(
const FGuid& OldGuid, |
Replace an existing binding with another | |
| void | ReplaceBinding
(
const FGuid& BindingToReplaceGuid, |
Replace an existing binding with another. | |
| bool | ReplacePossessable
(
const FGuid& OldGuid, |
Replace an existing possessable with another | |
| void | SetCameraCutTrack
(
UMovieSceneTrack* Track |
||
| void | SetClockSource
(
EUpdateClockSource InNewClockSource |
Assign the clock source to be used for this moviescene | |
| void | SetClockSource
(
UObject* InNewClockSource |
Assign the clock source to be used for this moviescene | |
| void | SetDisplayRate
(
FFrameRate InDisplayRate |
Set the play rate for this movie scene | |
| void | SetEditorData
(
FMovieSceneEditorData& InEditorData |
||
| void | SetEvaluationType
(
EMovieSceneEvaluationType InNewEvaluationType |
Assign a value signifying how to evaluate this movie scene data | |
| void | SetGloballyShowMarkedFrames
(
bool bShowMarkedFrames |
Set whether this scene's marked frames should be shown globally | |
| void | SetMarkedFrame
(
int32 InMarkIndex, |
Sets the frame number for the given marked frame index. | |
| void | SetMarkedFramesLocked
(
bool bLocked |
Set whether marked frames are locked. | |
| void | SetObjectDisplayName
(
const FGuid& ObjectId, |
Get the display name of the object with the specified identifier. | |
| void | SetPlaybackRange
(
const TRange< FFrameNumber >& NewRange, |
Set the playback range for this movie scene | |
| void | SetPlaybackRange
(
FFrameNumber Start, |
Set the start and end playback positions (playback range) for this movie scene | |
| void | SetPlaybackRangeLocked
(
bool bLocked |
Set whether the playback range is locked. | |
| void | SetReadOnly
(
bool bInReadOnly |
Set whether this movie scene is read only. | |
| void | SetSelectionRange
(
TRange< FFrameNumber > Range |
Set the selection range. | |
| void | SetTickResolutionDirectly
(
FFrameRate InTickResolution |
Directly set the tick resolution for this movie scene without applying any conversion whatsoever, or modifying the data | |
| void | SetViewRange
(
float Start, |
Set the start and end view range (inner) for this movie scene | |
| void | SetWorkingRange
(
float Start, |
Set the start and end working range (outer) for this movie scene | |
| void | Sort the marked frames in chronological order | ||
| void | TagBinding
(
const FName& NewTag, |
Tag the specified binding ID with the specified name | |
| void | Toggle whether this scene's marked frames should be shown globally | ||
| void | UngroupSection
(
const UMovieSceneSection& InSection |
Remove InSection from any group it currently is in | |
| void | UntagBinding
(
const FName& Tag, |
Remove a tag from the specified object binding | |
| void | Perform legacy upgrade of time ranges |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | Called during async load to determine if PostLoad can be called on the loading thread. | ||
| void | PostEditUndo () |
Called after applying a transaction to the object. | |
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | ||
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PreSave
(
FObjectPreSaveContext ObjectSaveContext |
Called before this object is being deserialized. | |
| void | ~ UObject implementation |
Typedefs
| Name | Description |
|---|---|
| FFixupDynamicBindingPayloadParameterNameEvent | |
| FIsTrackClassAllowedEvent |
Constants
| Name | Description |
|---|---|
| FixupDynamicBindingPayloadParameterNameEvent | |
| IsTrackClassAllowedEvent |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddGivenMasterTrack
(
UMovieSceneTrack* InTrack |
AddGivenMasterTrack is deprecated. Please use AddGivenTrack instead | |
| UMovieSceneTrack * | AddMasterTrack
(
TSubclassOf< UMovieSceneTrack > TrackClass |
AddMasterTrack is deprecated. Please use AddTrack instead | |
| TrackClass * | AddMasterTrack is deprecated. Please use AddTrack instead | ||
| UMovieSceneTrack * | FindMasterTrack
(
TSubclassOf< UMovieSceneTrack > TrackClass |
FindMasterTrack is deprecated. Please use FindTrack instead | |
| TrackClass * | FindMasterTrack is deprecated. Please use FindTrack instead | ||
| const TArray< UMovieSceneTrack * > & | GetMasterTracks is deprecated. Please use GetTracks instead | ||
| bool | IsAMasterTrack
(
const UMovieSceneTrack& Track |
IsAMasterTrack is deprecated. Please use ContainsTrack instead | |
| bool | RemoveMasterTrack
(
UMovieSceneTrack& Track |
RemoveMasterTrack is deprecated. Please use RemoveTrack instead |