ExoWest/Source/Exo/Public/Widget/UWBP_Buf.h

27 lines
521 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "UWBP_Buf.generated.h"
/**
*
*/
UCLASS()
class EXO_API UUWBP_Buf : public UUserWidget
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere, meta = (BindWidget))
class UUWBP_RoundProgressBar* ProgressBar;
UPROPERTY(EditAnywhere, meta = (BindWidget))
class UImage* DebufImage;
void SetTexture(UTexture2D* texture);
void SetPrecent(float precent);
};