Download LyraStarterGame/Source/LyraGame/UI/Common/LyraTabButtonBase.h from Alexhas2/unitysamples: direct link, hf CLI and curl.
- Browser
- Download file 880 Bytes
-
https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/UI/Common/LyraTabButtonBase.h
- Command line
-
hf download hf://datasets/Alexhas2/unitysamples/LyraStarterGame/Source/LyraGame/UI/Common/LyraTabButtonBase.h
-
curl -L -o LyraTabButtonBase.h https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/UI/Common/LyraTabButtonBase.h
880 Bytes
| // Copyright Epic Games, Inc. All Rights Reserved. | |
| class UCommonLazyImage; | |
| class UObject; | |
| struct FFrame; | |
| struct FSlateBrush; | |
| UCLASS(MinimalAPI, Abstract, Blueprintable, meta = (DisableNativeTick)) | |
| class ULyraTabButtonBase : public ULyraButtonBase, public ILyraTabButtonInterface | |
| { | |
| GENERATED_BODY() | |
| public: | |
| UE_API void SetIconFromLazyObject(TSoftObjectPtr<UObject> LazyObject); | |
| UE_API void SetIconBrush(const FSlateBrush& Brush); | |
| protected: | |
| UFUNCTION() | |
| UE_API virtual void SetTabLabelInfo_Implementation(const FLyraTabDescriptor& TabLabelInfo) override; | |
| private: | |
| UPROPERTY(meta = (BindWidgetOptional)) | |
| TObjectPtr<UCommonLazyImage> LazyImage_Icon; | |
| }; | |