Download LyraStarterGame/Source/LyraGame/UI/PerformanceStats/LyraPerfStatContainerBase.h from Alexhas2/unitysamples: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/UI/PerformanceStats/LyraPerfStatContainerBase.h
- Command line
-
hf download hf://datasets/Alexhas2/unitysamples/LyraStarterGame/Source/LyraGame/UI/PerformanceStats/LyraPerfStatContainerBase.h
-
curl -L -o LyraPerfStatContainerBase.h https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/UI/PerformanceStats/LyraPerfStatContainerBase.h
1.03 kB
| // Copyright Epic Games, Inc. All Rights Reserved. | |
| class UObject; | |
| struct FFrame; | |
| /** | |
| * ULyraPerfStatsContainerBase | |
| * | |
| * Panel that contains a set of ULyraPerfStatWidgetBase widgets and manages | |
| * their visibility based on user settings. | |
| */ | |
| UCLASS(Abstract) | |
| class ULyraPerfStatContainerBase : public UCommonUserWidget | |
| { | |
| public: | |
| ULyraPerfStatContainerBase(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get()); | |
| GENERATED_BODY() | |
| //~UUserWidget interface | |
| virtual void NativeConstruct() override; | |
| virtual void NativeDestruct() override; | |
| //~End of UUserWidget interface | |
| UFUNCTION(BlueprintCallable) | |
| void UpdateVisibilityOfChildren(); | |
| protected: | |
| // Are we showing text or graph stats? | |
| UPROPERTY(EditAnywhere, Category=Display) | |
| ELyraStatDisplayMode StatDisplayModeFilter = ELyraStatDisplayMode::TextAndGraph; | |
| }; | |