44 lines
1.2 KiB
C++
44 lines
1.2 KiB
C++
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#include "AssetExportSettings.h"
|
||
|
|
|
||
|
|
#define LOCTEXT_NAMESPACE "AssetExportSettings"
|
||
|
|
|
||
|
|
UAssetExportSettings::UAssetExportSettings()
|
||
|
|
{
|
||
|
|
// Default settings
|
||
|
|
OutputDirectory.Path = TEXT("Exports");
|
||
|
|
bCreateTimestampedFolder = true;
|
||
|
|
|
||
|
|
// Enable all asset types by default
|
||
|
|
bExportDataTables = true;
|
||
|
|
bExportBlueprints = true;
|
||
|
|
bExportAnimMontages = true;
|
||
|
|
bExportCurveTables = true;
|
||
|
|
|
||
|
|
// Default export paths - commonly used folders
|
||
|
|
ExportFolderPaths.Add(FDirectoryPath{TEXT("Blueprints/Enemy")});
|
||
|
|
ExportFolderPaths.Add(FDirectoryPath{TEXT("Blueprints/Characters")});
|
||
|
|
ExportFolderPaths.Add(FDirectoryPath{TEXT("Blueprints/Abilities")});
|
||
|
|
ExportFolderPaths.Add(FDirectoryPath{TEXT("DataTables")});
|
||
|
|
}
|
||
|
|
|
||
|
|
FName UAssetExportSettings::GetCategoryName() const
|
||
|
|
{
|
||
|
|
return FName(TEXT("Plugins"));
|
||
|
|
}
|
||
|
|
|
||
|
|
FText UAssetExportSettings::GetSectionText() const
|
||
|
|
{
|
||
|
|
return LOCTEXT("AssetExportSettingsSection", "Asset Export to JSON");
|
||
|
|
}
|
||
|
|
|
||
|
|
#if WITH_EDITOR
|
||
|
|
FText UAssetExportSettings::GetSectionDescription() const
|
||
|
|
{
|
||
|
|
return LOCTEXT("AssetExportSettingsDescription", "Configure paths and settings for exporting assets to JSON format for LLM analysis");
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#undef LOCTEXT_NAMESPACE
|