Files
UnrealEngineUWP/Engine/Source/Editor/StructViewer/Public/StructViewerProjectSettings.h

29 lines
1.1 KiB
C
Raw Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/Object.h"
#include "UObject/SoftObjectPtr.h"
#include "Engine/EngineTypes.h"
#include "StructViewerProjectSettings.generated.h"
/**
* Implements the settings for the Struct Viewer Project Settings
*/
UCLASS(config=Engine, defaultconfig)
class STRUCTVIEWER_API UStructViewerProjectSettings : public UObject
{
GENERATED_UCLASS_BODY()
#if WITH_EDITORONLY_DATA
/** The base directories to be considered Internal Only for the struct picker.*/
UPROPERTY(EditAnywhere, config, Category = StructVisibilityManagement, meta = (DisplayName = "List of directories to consider Internal Only.", ContentDir, LongPackageName))
TArray<FDirectoryPath> InternalOnlyPaths;
/** The base classes to be considered Internal Only for the struct picker.*/
UPROPERTY(EditAnywhere, config, Category = StructVisibilityManagement, meta = (DisplayName = "List of base structs to consider Internal Only.", ShowTreeView, HideViewOptions))
TArray<TSoftObjectPtr<const UScriptStruct>> InternalOnlyStructs;
#endif
};