Files
UnrealEngineUWP/Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserVirtualFolderDataPayload.h
robert millar 6e9c591047 Special icon for virtual organizational folders in content browser.
- ContentBrowserUtils::ShouldShowCustomVirtualFolderIcon and cvar ContentBrowser.ShowCustomVirtualFolderIcon so it can be disabled in UEFN
- Attribute ContentBrowserItemAttributes::ItemIsCustomVirtualFolder for categorization
- Built-in folders like All, Game, Engine, Plugins are not marked with the above attribute
- Set ContentBrowser.ShowCustomVirtualFolderIcon to 0 when entering UEFN restricted mode

#rb Rex.Hill

[CL 31729647 by robert millar in ue5-main branch]
2024-02-22 14:13:17 -05:00

18 lines
409 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ContentBrowserItemData.h"
class CONTENTBROWSERDATA_API FContentBrowserVirtualFolderItemDataPayload : public IContentBrowserItemDataPayload
{
public:
explicit FContentBrowserVirtualFolderItemDataPayload (bool InIsCustomVirtual)
: bIsCustomVirtualFolder(InIsCustomVirtual)
{
}
private:
bool bIsCustomVirtualFolder;
};