[UMG] Progress Bar: Set Bar Fill Type

ProgressBar.h on line 87 says // TODO UMG Add Set BarFillType.

I added the code and recompiled the engine, but I have the engine downloaded from GitHub

Add after line 87 (ProgressBar.h)

UFUNCTION(BlueprintCallable, Category = "Progress")
void SetBarFillType(EProgressBarFillType::Type InBarFillType);

Add after line 63 (ProgressBar.cpp)

void UProgressBar::SetBarFillType(EProgressBarFillType::Type InBarFillType)
{
	if (MyProgressBar.IsValid())
	{
		MyProgressBar->SetBarFillType(InBarFillType);
	}
}
1 Like