Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UWidgetAnimation
Description
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.
| Name | BindToAnimationStarted |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Animation/WidgetAnimation.h |
| Include Path | #include "Animation/WidgetAnimation.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Animation/WidgetAnimation.cpp |
UFUNCTION (BlueprintCallable, Category=Animation, Meta=(BlueprintInternalUseOnly="TRUE"))
void BindToAnimationStarted
(
UUserWidget * Widget,
FWidgetAnimationDynamicEvent Delegate
)