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

#include <MovieSceneBindingReferences.h>

+ Inheritance diagram for FMovieSceneBindingReferences:

Public Member Functions

MOVIESCENE_API TArrayView< const FMovieSceneBindingReferenceGetAllReferences () const
 
MOVIESCENE_API TArrayView< FMovieSceneBindingReferenceGetAllReferences ()
 
MOVIESCENE_API TArrayView< const FMovieSceneBindingReferenceGetReferences (const FGuid &ObjectId) const
 
MOVIESCENE_API const FMovieSceneBindingReferenceGetReference (const FGuid &ObjectId, int32 BindingIndex) const
 
MOVIESCENE_API bool HasBinding (const FGuid &ObjectId) const
 
MOVIESCENE_API UMovieSceneCustomBindingGetCustomBinding (const FGuid &ObjectId, int32 BindingIndex)
 
MOVIESCENE_API const UMovieSceneCustomBindingGetCustomBinding (const FGuid &ObjectId, int32 BindingIndex) const
 
MOVIESCENE_API void RemoveBinding (const FGuid &ObjectId)
 
MOVIESCENE_API void RemoveObjects (const FGuid &ObjectId, const TArray< UObject * > &InObjects, UObject *InContext)
 
MOVIESCENE_API void RemoveInvalidObjects (const FGuid &ObjectId, UObject *InContext)
 
MOVIESCENE_API const FMovieSceneBindingReferenceAddBinding (const FGuid &ObjectId, FUniversalObjectLocator &&NewLocator)
 
const FMovieSceneBindingReferenceAddBinding (const FGuid &ObjectId, UMovieSceneCustomBinding *CustomBinding)
 
MOVIESCENE_API const FMovieSceneBindingReferenceAddBinding (const FGuid &ObjectId, FUniversalObjectLocator &&NewLocator, ELocatorResolveFlags InResolveFlags, UMovieSceneCustomBinding *CustomBinding=nullptr)
 
MOVIESCENE_API const FMovieSceneBindingReferenceAddOrReplaceBinding (const FGuid &ObjectId, UMovieSceneCustomBinding *NewCustomBinding, int32 BindingIndex)
 
MOVIESCENE_API const FMovieSceneBindingReferenceAddOrReplaceBinding (const FGuid &ObjectId, FUniversalObjectLocator &&NewLocator, int32 BindingIndex)
 
MOVIESCENE_API void ResolveBinding (const FGuid &ObjectId, const UE::UniversalObjectLocator::FResolveParams &LocatorResolveParams, TArray< UObject *, TInlineAllocator< 1 > > &OutObjects) const
 
MOVIESCENE_API void ResolveBinding (const FMovieSceneBindingResolveParams &BindingResolveParams, const UE::UniversalObjectLocator::FResolveParams &LocatorResolveParams, TSharedPtr< const UE::MovieScene::FSharedPlaybackState > SharedPlaybackState, TArray< UObject *, TInlineAllocator< 1 > > &OutObjects) const
 
MOVIESCENE_API void ResolveSingleBinding (const FMovieSceneBindingResolveParams &BindingResolveParams, int32 BindingIndex, const UE::UniversalObjectLocator::FResolveParams &LocatorResolveParams, TSharedPtr< const UE::MovieScene::FSharedPlaybackState > SharedPlaybackState, TArray< UObject *, TInlineAllocator< 1 > > &OutObjects) const
 
MOVIESCENE_API UObjectResolveSingleBinding (const FMovieSceneBindingResolveParams &BindingResolveParams, int32 BindingIndex, const UE::UniversalObjectLocator::FResolveParams &LocatorResolveParams, TSharedPtr< const UE::MovieScene::FSharedPlaybackState > SharedPlaybackState) const
 
MOVIESCENE_API FGuid FindBindingFromObject (UObject *InObject, UObject *InContext) const
 
MOVIESCENE_API void RemoveInvalidBindings (const TSet< FGuid > &ValidBindingIDs)
 
void UnloadBoundObject (const UE::UniversalObjectLocator::FResolveParams &ResolveParams, const FGuid &ObjectId, int32 BindingIndex)
 

Detailed Description

Structure that stores a one to many mapping from object binding ID, to object references that pertain to that ID.

Member Function Documentation

◆ AddBinding() [1/3]

const FMovieSceneBindingReference * FMovieSceneBindingReferences::AddBinding ( const FGuid ObjectId,
FUniversalObjectLocator &&  NewLocator 
)

Add a binding for the specified ID

Parameters
ObjectIdThe ID to associate the object with
InContextA context in which InObject resides (either a UWorld, or an AActor)

◆ AddBinding() [2/3]

const FMovieSceneBindingReference * FMovieSceneBindingReferences::AddBinding ( const FGuid ObjectId,
FUniversalObjectLocator &&  NewLocator,
ELocatorResolveFlags  InResolveFlags,
UMovieSceneCustomBinding CustomBinding = nullptr 
)

Add a binding for the specified ID

Parameters
ObjectIdThe ID to associate the object with
InContextA context in which InObject resides (either a UWorld, or an AActor)

◆ AddBinding() [3/3]

const FMovieSceneBindingReference * FMovieSceneBindingReferences::AddBinding ( const FGuid ObjectId,
UMovieSceneCustomBinding CustomBinding 
)
inline

Add a custom binding for the specified ID, no locator necessary.

Parameters
ObjectIdThe ID to associate the object with
CustomBindingA created custom binding for the object

◆ AddOrReplaceBinding() [1/2]

const FMovieSceneBindingReference * FMovieSceneBindingReferences::AddOrReplaceBinding ( const FGuid ObjectId,
FUniversalObjectLocator &&  NewLocator,
int32  BindingIndex 
)

Replace the binding associated with the ObjectId at the given BindingIndex with a new possessable locator binding. If no such binding exists, then one will be created at the nearest new BindingIndex.

Parameters
ObjectIdThe ID to associate the object with
NewLocatorA created locator for the object
BindingIndexThe binding index of the binding to replace.

◆ AddOrReplaceBinding() [2/2]

const FMovieSceneBindingReference * FMovieSceneBindingReferences::AddOrReplaceBinding ( const FGuid ObjectId,
UMovieSceneCustomBinding NewCustomBinding,
int32  BindingIndex 
)

Replace the binding associated with the ObjectId at the given BindingIndex with a new custom binding. If no such binding exists, then one will be created at the nearest new BindingIndex.

Parameters
ObjectIdThe ID to associate the object with
CustomBindingA created custom binding for the object
BindingIndexThe binding index of the binding to replace.

◆ FindBindingFromObject()

FGuid FMovieSceneBindingReferences::FindBindingFromObject ( UObject InObject,
UObject InContext 
) const

Resolve a binding for the specified ID using a given context

Parameters
ObjectIdThe ID to associate the object with
InContextA context in which InObject resides @oaram StreamedLevelAssetPath The path to the streamed level asset that contains the level sequence actor playing back the sequence. 'None' for any non-instance-level setups.
OutObjectsArray to populate with resolved object bindings

◆ GetAllReferences() [1/2]

TArrayView< FMovieSceneBindingReference > FMovieSceneBindingReferences::GetAllReferences ( )

◆ GetAllReferences() [2/2]

TArrayView< const FMovieSceneBindingReference > FMovieSceneBindingReferences::GetAllReferences ( ) const

◆ GetCustomBinding() [1/2]

UMovieSceneCustomBinding * FMovieSceneBindingReferences::GetCustomBinding ( const FGuid ObjectId,
int32  BindingIndex 
)

◆ GetCustomBinding() [2/2]

const UMovieSceneCustomBinding * FMovieSceneBindingReferences::GetCustomBinding ( const FGuid ObjectId,
int32  BindingIndex 
) const

◆ GetReference()

const FMovieSceneBindingReference * FMovieSceneBindingReferences::GetReference ( const FGuid ObjectId,
int32  BindingIndex 
) const

◆ GetReferences()

TArrayView< const FMovieSceneBindingReference > FMovieSceneBindingReferences::GetReferences ( const FGuid ObjectId) const

◆ HasBinding()

bool FMovieSceneBindingReferences::HasBinding ( const FGuid ObjectId) const

Check whether this map has a binding for the specified object id

Returns
true if this map contains a binding for the id, false otherwise

◆ RemoveBinding()

void FMovieSceneBindingReferences::RemoveBinding ( const FGuid ObjectId)

Remove a binding for the specified ID

Parameters
ObjectIdThe ID to remove

◆ RemoveInvalidBindings()

void FMovieSceneBindingReferences::RemoveInvalidBindings ( const TSet< FGuid > &  ValidBindingIDs)

Filter out any bindings that do not match the specified set of GUIDs

Parameters
ValidBindingIDsA set of GUIDs that are considered valid. Anything references not matching these will be removed.

◆ RemoveInvalidObjects()

void FMovieSceneBindingReferences::RemoveInvalidObjects ( const FGuid ObjectId,
UObject InContext 
)

Remove specific object references that do not resolve

Parameters
ObjectIdThe ID to remove
InContextA context in which InObject resides (either a UWorld, or an AActor)

◆ RemoveObjects()

void FMovieSceneBindingReferences::RemoveObjects ( const FGuid ObjectId,
const TArray< UObject * > &  InObjects,
UObject InContext 
)

Remove specific object references

Parameters
ObjectIdThe ID to remove
InObjectsThe objects to remove
InContextA context in which InObject resides (either a UWorld, or an AActor)

◆ ResolveBinding() [1/2]

void FMovieSceneBindingReferences::ResolveBinding ( const FGuid ObjectId,
const UE::UniversalObjectLocator::FResolveParams LocatorResolveParams,
TArray< UObject *, TInlineAllocator< 1 > > &  OutObjects 
) const

Resolve a binding for the specified ID using a given context. Calling this version will not resolve custom bindings/spawnables- to resolve those, please call the override with BindingResolveParams and SharedPlaybackState

Parameters
ObjectIdThe ID to associate the object with
ParamsResolve parameters specifying the context and fragment-specific parameters
OutObjectsArray to populate with resolved object bindings

◆ ResolveBinding() [2/2]

void FMovieSceneBindingReferences::ResolveBinding ( const FMovieSceneBindingResolveParams BindingResolveParams,
const UE::UniversalObjectLocator::FResolveParams LocatorResolveParams,
TSharedPtr< const UE::MovieScene::FSharedPlaybackState SharedPlaybackState,
TArray< UObject *, TInlineAllocator< 1 > > &  OutObjects 
) const

Resolve a binding for the specified ID using a given context

Parameters
ObjectIdThe ID to associate the object with
BindingResolveParamsResolve parameters
LocatorResolveParamsLocator-specific resolve parameters
SharedPlaybackStateShared Playback State from the Sequencer
OutObjectsArray to populate with resolved object bindings

◆ ResolveSingleBinding() [1/2]

UObject * FMovieSceneBindingReferences::ResolveSingleBinding ( const FMovieSceneBindingResolveParams BindingResolveParams,
int32  BindingIndex,
const UE::UniversalObjectLocator::FResolveParams LocatorResolveParams,
TSharedPtr< const UE::MovieScene::FSharedPlaybackState SharedPlaybackState 
) const

◆ ResolveSingleBinding() [2/2]

void FMovieSceneBindingReferences::ResolveSingleBinding ( const FMovieSceneBindingResolveParams BindingResolveParams,
int32  BindingIndex,
const UE::UniversalObjectLocator::FResolveParams LocatorResolveParams,
TSharedPtr< const UE::MovieScene::FSharedPlaybackState SharedPlaybackState,
TArray< UObject *, TInlineAllocator< 1 > > &  OutObjects 
) const

Resolve a binding for the specified ID and BindingIndex using a given context

Parameters
ObjectIdThe ID to associate the object with
BindingResolveParamsResolve parameters
LocatorResolveParamsLocator-specific resolve parameters
SharedPlaybackStateShared Playback State from the Sequencer
OutObjectsArray to populate with resolved objectss

◆ UnloadBoundObject()

void FMovieSceneBindingReferences::UnloadBoundObject ( const UE::UniversalObjectLocator::FResolveParams ResolveParams,
const FGuid ObjectId,
int32  BindingIndex 
)
inline

Unloads an object that has been loaded via a locator.

Parameters
ObjectIdThe ID of the binding to unload
BindingIndexThe index of the binding to unload

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