Download LyraStarterGame/Source/LyraGame/UI/Frontend/ApplyFrontendPerfSettingsAction.h from Alexhas2/unitysamples: direct link, hf CLI and curl.
- Browser
- Download file 986 Bytes
-
https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/UI/Frontend/ApplyFrontendPerfSettingsAction.h
- Command line
-
hf download hf://datasets/Alexhas2/unitysamples/LyraStarterGame/Source/LyraGame/UI/Frontend/ApplyFrontendPerfSettingsAction.h
-
curl -L -o ApplyFrontendPerfSettingsAction.h https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/UI/Frontend/ApplyFrontendPerfSettingsAction.h
986 Bytes
| // Copyright Epic Games, Inc. All Rights Reserved. | |
| class UObject; | |
| struct FGameFeatureActivatingContext; | |
| struct FGameFeatureDeactivatingContext; | |
| ////////////////////////////////////////////////////////////////////// | |
| // UApplyFrontendPerfSettingsAction | |
| /** | |
| * GameFeatureAction responsible for telling the user settings to apply frontend/menu specific performance settings | |
| */ | |
| UCLASS(MinimalAPI, meta = (DisplayName = "Use Frontend Perf Settings")) | |
| class UApplyFrontendPerfSettingsAction final : public UGameFeatureAction | |
| { | |
| GENERATED_BODY() | |
| public: | |
| //~UGameFeatureAction interface | |
| virtual void OnGameFeatureActivating(FGameFeatureActivatingContext& Context) override; | |
| virtual void OnGameFeatureDeactivating(FGameFeatureDeactivatingContext& Context) override; | |
| //~End of UGameFeatureAction interface | |
| private: | |
| static int32 ApplicationCounter; | |
| }; | |