[UMG] Progress Bar: Set Bar Fill Type

Hey there,

I noticed that there is only a “Get Bar Fill Type” similar to “Get Is Marquee”, but there’s not “Set Bar Fill Type”.

Is it just not implemented or did I missed something?

310076-barfilltype.png

1 Like

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

I think this one might work too. “Set By-Ref Var”.