UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FLevelSequenceBindingReference Struct Reference

#include <LevelSequenceBindingReference.h>

Classes

struct  FResolveBindingParams
 

Public Member Functions

 GENERATED_BODY ()
 
 FLevelSequenceBindingReference ()
 
LEVELSEQUENCE_API FLevelSequenceBindingReference (UObject *InObject, UObject *InContext)
 
LEVELSEQUENCE_API UObjectResolve (UObject *InContext, const FResolveBindingParams &InResolveBindingParams) const
 
LEVELSEQUENCE_API bool operator== (const FLevelSequenceBindingReference &Other) const
 
void PostSerialize (const FArchive &Ar)
 

Public Attributes

FString PackageName_DEPRECATED
 
FSoftObjectPath ExternalObjectPath
 
FString ObjectPath
 

Detailed Description

An external reference to an level sequence object, resolvable through an arbitrary context.

Bindings consist of an optional package name, and the path to the object within that package. Where package name is empty, the reference is a relative path from a specific outer (the context). Currently, the package name should only ever be empty for component references, which must remain relative bindings to work correctly with spawnables and reinstanced actors.

Constructor & Destructor Documentation

◆ FLevelSequenceBindingReference() [1/2]

FLevelSequenceBindingReference::FLevelSequenceBindingReference ( )
inline

Default construction only used for serialization

◆ FLevelSequenceBindingReference() [2/2]

FLevelSequenceBindingReference::FLevelSequenceBindingReference ( UObject InObject,
UObject InContext 
)

Construct a new binding reference from an object, and a given context (expected to be either a UWorld, or an AActor)

Member Function Documentation

◆ GENERATED_BODY()

FLevelSequenceBindingReference::GENERATED_BODY ( )

◆ operator==()

bool FLevelSequenceBindingReference::operator== ( const FLevelSequenceBindingReference Other) const

Check whether this binding reference is equal to the specified object

◆ PostSerialize()

void FLevelSequenceBindingReference::PostSerialize ( const FArchive Ar)

Handles ExternalObjectPath fixup

◆ Resolve()

UObject * FLevelSequenceBindingReference::Resolve ( UObject InContext,
const FResolveBindingParams InResolveBindingParams 
) const

Resolve this reference within the specified context

Parameters
InContextThe context to resolve the binding within. Either a UWorld, ULevel (when playing in an instanced level) or an AActor where this binding relates to an actor component
InResolveBindingParamsThe struct containing additional resolving params.
Returns
The object (usually an Actor or an ActorComponent).

Member Data Documentation

◆ ExternalObjectPath

FSoftObjectPath FLevelSequenceBindingReference::ExternalObjectPath

Path to a specific actor/component inside an external package

◆ ObjectPath

FString FLevelSequenceBindingReference::ObjectPath

Object path relative to a passed in context object, this is used if ExternalObjectPath is invalid

◆ PackageName_DEPRECATED

FString FLevelSequenceBindingReference::PackageName_DEPRECATED

Replaced by ExternalObjectPath


The documentation for this struct was generated from the following files: