Files
UnrealEngineUWP/Engine/Plugins/Editor/EngineAssetDefinitions/Source/Private/AssetDefinition_TextureCubeArray.h
nick darnell 9e765542af Editor - Fixing an ASan bug in the category paths, need to declare them statically so that the compiler doesn't free the list too early.
Editor - Upgrading the Texture AssetTypeActions to be AssetDefinitions.

#jira UE-169989
#jira UE-165574

[CL 23121796 by nick darnell in ue5-main branch]
2022-11-14 13:18:14 -05:00

23 lines
779 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Engine/TextureCubeArray.h"
#include "AssetDefinition_Texture.h"
#include "AssetDefinition_TextureCubeArray.generated.h"
UCLASS()
class ENGINEASSETDEFINITIONS_API UAssetDefinition_TextureCubeArray : public UAssetDefinition_Texture
{
GENERATED_BODY()
public:
// UAssetDefinition Begin
virtual FText GetAssetDisplayName() const override { return NSLOCTEXT("AssetTypeActions", "AssetTypeActions_TextureCubeArray", "Texture Cube Array"); }
virtual FLinearColor GetAssetColor() const override { return FLinearColor(FColor(192, 192, 128)); }
virtual TSoftClassPtr<UObject> GetAssetClass() const override { return UTextureCubeArray::StaticClass(); }
// UAssetDefinition End
};