Space Plunder
Loading...
Searching...
No Matches
FramesPerSecondWidget.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Blueprint/UserWidget.h"
7#include "FramesPerSecondWidget.generated.h"
8
12UCLASS()
13class BASEHELPERS_API UFramesPerSecondWidget : public UUserWidget
14{
15 GENERATED_BODY()
16
17protected:
18
19 virtual bool Initialize() override;
20 virtual void NativeConstruct() override;
21
22
23 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta=(BindWidget), Category="FPS")
24 class UTextBlock* FramesTextBlock;
25 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="FPS")
26 float UpdateSpeed = 1.0f;
27
28private:
29 void UpdateFPS() const;
30 FTimerHandle UpdateSpeedTimer;
31};
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
Definition FramesPerSecondWidget.h:14