Agrarsense
EditorUtilities.h
Go to the documentation of this file.
1// Copyright (c) 2023 FrostBit Software Lab at the Lapland University of Applied Sciences
2//
3// This work is licensed under the terms of the MIT license.
4// For a copy, see <https://opensource.org/licenses/MIT>.
5
6#pragma once
7
8#include "CoreMinimal.h"
9#include "UObject/NoExportTypes.h"
10#if WITH_EDITOR
11#include "AssetRegistry/AssetData.h"
12#endif
13
14#include "EditorUtilities.generated.h"
15
16UCLASS()
17class AGRARSENSE_API UEditorUtilities : public UObject
18{
19 GENERATED_BODY()
20
21public:
22
26 UFUNCTION(BlueprintCallable, Category = "Editor Utilities")
27 static void ExportThumbnailTextureFromSelectedAssets();
28
29private:
30
31 static void CreateThumbnailTextureFromAsset(const FAssetData& Asset);
32
33};