Files
UnrealEngineUWP/Engine/Source/Developer/AssetTools/Public/AssetToolsSettings.h
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -05:00

38 lines
1.1 KiB
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Engine/DeveloperSettings.h"
#include "AdvancedCopyCustomization.h"
#include "Engine/AssetUserData.h"
#include "AssetToolsSettings.generated.h"
USTRUCT()
struct FAdvancedCopyMap
{
GENERATED_BODY()
public:
/** When copying this class, use a particular set of dependency and destination rules */
UPROPERTY(EditAnywhere, Category = "Asset Tools", meta = (MetaClass = "Object"))
FSoftClassPath ClassToCopy;
/** The set of dependency and destination rules to use for advanced copy */
UPROPERTY(EditAnywhere, Category = "Asset Tools", meta = (MetaClass = "AdvancedCopyCustomization"))
FSoftClassPath AdvancedCopyCustomization;
};
UCLASS(config = Game, defaultconfig, notplaceable, meta = (DisplayName = "Asset Tools"))
class ASSETTOOLS_API UAssetToolsSettings : public UDeveloperSettings
{
GENERATED_BODY()
public:
UAssetToolsSettings() {};
/** List of rules to use when advanced copying assets */
UPROPERTY(config, EditAnywhere, Category = "Asset Tools", Meta = (TitleProperty = "ClassToCopy"))
TArray<FAdvancedCopyMap> AdvancedCopyCustomizations;
};