UUserWidget::SetNumLoopsToPlay

Changes the number of loops to play given a playing animation

Windows
MacOS
Linux

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

Syntax

void SetNumLoopsToPlay
(
    const UWidgetAnimation * InAnimation,
    int32 NumLoopsToPlay
)

Remarks

Changes the number of loops to play given a playing animation

Parameters

Parameter

Description

InAnimation

The animation that is already playing

NumLoopsToPlay

The number of loops to play. (0 to loop indefinitely)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss