You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #rb none #ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904 #ROBOMERGE-BOT: (v613-10869866) [CL 10870586 by ryan durand in Main branch]
29 lines
884 B
C++
29 lines
884 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
class IDetailLayoutBuilder;
|
|
|
|
/**
|
|
* Interface for any class that lays out details for a specific class
|
|
*/
|
|
class IDetailCustomization : public TSharedFromThis<IDetailCustomization>
|
|
{
|
|
public:
|
|
virtual ~IDetailCustomization() {}
|
|
|
|
/** Called when no longer used and will be deleted */
|
|
virtual void PendingDelete() {}
|
|
|
|
/** Called when details should be customized */
|
|
virtual void CustomizeDetails( IDetailLayoutBuilder& DetailBuilder ) = 0;
|
|
|
|
/**
|
|
* Called when details should be customized, this version allows the customization to store a weak ptr to the layout builder.
|
|
* This allows property changes to trigger a force refresh of the detail panel.
|
|
*/
|
|
virtual void CustomizeDetails( const TSharedPtr<IDetailLayoutBuilder>& DetailBuilder ) { CustomizeDetails(*DetailBuilder); }
|
|
|
|
};
|