UWidgetAnimation::BindToAnimationStarted

These animation binding functions were added so that we could cleanly upgrade assets from before animation sharing, they don't actually modify the animation, they just pipe through to the [UUserWidget](API\Runtime\UMG\Blueprint\UUserWidget).

Choose your operating system:

Windows

macOS

Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Animation/WidgetAnimation.h

Include

#include "Animation/WidgetAnimation.h"

Source

/Engine/Source/Runtime/UMG/Private/Animation/WidgetAnimation.cpp

Syntax

void BindToAnimationStarted
(
    UUserWidget * Widget,
    FWidgetAnimationDynamicEvent Delegate
)

Remarks

These animation binding functions were added so that we could cleanly upgrade assets from before animation sharing, they don't actually modify the animation, they just pipe through to the UUserWidget. If we didn't put the functions here, it would be much more difficult to upgrade users who were taking advantage of the Many-To-1, blueprint having many animations binding to the same delegate.