Navigation
API > API/Runtime > API/Runtime/LevelSequence
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- AActor
- ALevelSequenceActor
- AReplicatedLevelSequenceActor
References
| Module | LevelSequence |
| Header | /Engine/Source/Runtime/LevelSequence/Public/LevelSequenceActor.h |
| Include | #include "LevelSequenceActor.h" |
Syntax
class ALevelSequenceActor :
public AActor,
public IMovieScenePlaybackClient,
public IMovieSceneBindingOwnerInterface,
public IWorldPartitionObjectResolver
Remarks
Actor responsible for controlling a specific level sequence in the world.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UMovieSceneBindingOverrides > | BindingOverrides | Mapping of actors to override the sequence bindings with | |
| uint8: 1 | bOverrideInstanceData | Enable specification of dynamic instance data to be supplied to the sequence during playback | |
| uint8: 1 | bReplicatePlayback | If true, playback of this level sequence on the server will be synchronized across other clients | |
| TObjectPtr< ULevelSequenceBurnInOptions > | BurnInOptions | ||
| FLevelSequenceCameraSettings | CameraSettings | ||
| TObjectPtr< UObject > | DefaultInstanceData | Instance data that can be used to dynamically control sequence evaluation at runtime | |
| TObjectPtr< ULevelSequence > | LevelSequenceAsset | ||
| FMovieSceneSequencePlaybackSettings | PlaybackSettings | ||
| TObjectPtr< ULevelSequencePlayer > | SequencePlayer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
ALevelSequenceActor
(
const FObjectInitializer& Init |
Create and initialize a new instance. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddBinding
(
FMovieSceneObjectBindingID Binding, |
Adds the specified actor to the overridden bindings for the specified binding ID, optionally still allowing the bindings defined in the Level Sequence asset | |
| void | AddBindingByTag
(
FName BindingTag, |
Binds an actor to all the bindings tagged with the specified name in this sequence. | |
| void | DeclareConstructClasses
(
TArray< FTopLevelAssetPath >& OutConstructClasses, |
||
| FMovieSceneObjectBindingID | FindNamedBinding
(
FName Tag |
Retrieve the first object binding that has been tagged with the specified name | |
| const TArray< FMovieSceneObjectBindingID > & | FindNamedBindings
(
FName Tag |
Retrieve all the bindings that have been tagged with the specified name | |
| ULevelSequence * | GetSequence () |
Get the level sequence being played by this actor. | |
| ULevelSequencePlayer * | Access this actor's sequence player, or None if it is not yet initialized | ||
| void | HideBurnin () |
Hide burnin | |
| void | Initialize the player object by loading the asset, using async loading when necessary | ||
| void | InitializePlayerWithSequence
(
ULevelSequence* LevelSequenceAsset |
Initialize the player object with the specified asset | |
| void | OnSequenceLoaded
(
const FName& PackageName, |
||
| void | Refresh this actor's burn in | ||
| void | RemoveBinding
(
FMovieSceneObjectBindingID Binding, |
Removes the specified actor from the specified binding's actor array | |
| void | RemoveBindingByTag
(
FName Tag, |
Removes the specified actor from the specified binding's actor array | |
| void | ResetBinding
(
FMovieSceneObjectBindingID Binding |
Resets the specified binding back to the defaults defined by the Level Sequence asset | |
| void | Resets all overridden bindings back to the defaults defined by the Level Sequence asset | ||
| void | SetBinding
(
FMovieSceneObjectBindingID Binding, |
Overrides the specified binding with the specified actors, optionally still allowing the bindings defined in the Level Sequence asset | |
| void | SetBindingByTag
(
FName BindingTag, |
Assigns an set of actors to all the bindings tagged with the specified name in this sequence. | |
| void | SetReplicatePlayback
(
bool ReplicatePlayback |
Set whether or not to replicate playback for this actor | |
| void | SetSequence
(
ULevelSequence* InSequence |
Set the level sequence being played by this actor. | |
| void | ShowBurnin () |
Show burnin |
Overridden from AActor
| Type | Name | Description | |
|---|---|---|---|
| void | BeginPlay () |
Overridable native event for when play begins for this actor. | |
| bool | Returns true if this actor allows changing the spatially loaded flag. | ||
| void | EndPlay
(
const EEndPlayReason::Type EndPlayReason |
Overridable function called whenever this actor is being removed from a level | |
| bool | GetReferencedContentObjects
(
TArray< UObject* >& Objects |
Used by the "Sync to Content Browser" right-click menu option in the editor. | |
| void | Allow actors to initialize themselves on the C++ side after all of their components have been initialized, only called during gameplay | ||
| bool | ReplicateSubobjects
(
UActorChannel* Channel, |
Method that allows an actor to replicate subobjects on its actor channel. | |
| void | Called on the actor before checkpoint data is applied during a replay. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| 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 | Always called immediately after properties are received from the remote. |
Overridden from IMovieScenePlaybackClient
| Type | Name | Description | |
|---|---|---|---|
| TOptional< EAspectRatioAxisConstraint > | Whether this playback client wants a specific aspect ratio axis constraint during playback. | ||
| UObject * | Retrieve the optional instance data that should be used for this evaluation | ||
| bool | Whether this playback client wants replicated playback. | ||
| bool | RetrieveBindingOverrides
(
const FGuid& InBindingId, |
Locate bound objects that relate to the specified binding ID |
Overridden from IMovieSceneBindingOwnerInterface
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FStructOnScope > | GetObjectPickerProxy
(
TSharedPtr< IPropertyHandle > ObjectPropertyHandle |
Return a proxy struct used for editing the bound object | |
| UMovieSceneSequence * | Retrieve the sequence that we own | ||
| void | UpdateObjectFromProxy
(
FStructOnScope& Proxy, |
Update the specified object property handle based on the proxy structure's contents |
Overridden from IWorldPartitionObjectResolver
| Type | Name | Description | |
|---|---|---|---|
| const FWorldPartitionResolveData & | |||
| void | SetWorldPartitionResolveData
(
const FWorldPartitionResolveData& InWorldPartitionResolveData |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnLevelSequenceLoaded |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bAutoPlay_DEPRECATED | ||
| FSoftObjectPath | LevelSequence_DEPRECATED |