Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint > API/Runtime/UMG/Blueprint/UUserWidget
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
| Include | #include "Blueprint/UserWidget.h" |
| Source | /Engine/Source/Runtime/UMG/Private/UserWidget.cpp |
UFUNCTION (BlueprintCallable, BlueprintCosmetic, Category="User Interface|Animation")
void SetNumLoopsToPlay
(
const UWidgetAnimation * InAnimation,
int32 NumLoopsToPlay
)
Remarks
Changes the number of loops to play given a playing animation
Parameters
| Name | Description |
|---|---|
| InAnimation | The animation that is already playing |
| NumLoopsToPlay | The number of loops to play. (0 to loop indefinitely) |