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

#include <WidgetAnimationBinding.h>

Public Member Functions

UMG_API UObjectFindRuntimeObject (const UWidgetTree &WidgetTree, UUserWidget &UserWidget) const
 
UMG_API UObjectFindRuntimeObject (const UWidgetTree &WidgetTree, UUserWidget &UserWidget, const UMovieSceneSequence *Sequence, TSharedPtr< const UE::MovieScene::FSharedPlaybackState > SharedPlaybackState) const
 

Public Attributes

FName WidgetName
 
FName SlotWidgetName
 
FGuid AnimationGuid
 
bool bIsRootWidget = false
 
FMovieSceneDynamicBinding DynamicBinding
 

Friends

bool operator== (const FWidgetAnimationBinding &X, const FWidgetAnimationBinding &Y)
 

Detailed Description

A single object bound to a UMG sequence.

Member Function Documentation

◆ FindRuntimeObject() [1/2]

UObject * FWidgetAnimationBinding::FindRuntimeObject ( const UWidgetTree WidgetTree,
UUserWidget UserWidget 
) const

Locates a runtime object to animate from the provided tree of widgets.

Returns
the runtime object to animate or null if not found

◆ FindRuntimeObject() [2/2]

UObject * FWidgetAnimationBinding::FindRuntimeObject ( const UWidgetTree WidgetTree,
UUserWidget UserWidget,
const UMovieSceneSequence Sequence,
TSharedPtr< const UE::MovieScene::FSharedPlaybackState SharedPlaybackState 
) const

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const FWidgetAnimationBinding X,
const FWidgetAnimationBinding Y 
)
friend

Compares two widget animation bindings for equality.

Parameters
XThe first binding to compare.
YThe second binding to compare.
Returns
true if the bindings are equal, false otherwise.

Member Data Documentation

◆ AnimationGuid

FGuid FWidgetAnimationBinding::AnimationGuid

◆ bIsRootWidget

bool FWidgetAnimationBinding::bIsRootWidget = false

◆ DynamicBinding

FMovieSceneDynamicBinding FWidgetAnimationBinding::DynamicBinding

◆ SlotWidgetName

FName FWidgetAnimationBinding::SlotWidgetName

◆ WidgetName

FName FWidgetAnimationBinding::WidgetName

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