Files
UnrealEngineUWP/Engine/Source/Editor/DetailCustomizations/Private/SceneCaptureDetails.h
bryan sefcik 8cc129f2b6 IWYU Pass 1 - Engine/Source/Editor/...
#jira
#preflight 6306736ac85b7fef22be7751

[CL 21558583 by bryan sefcik in ue5-main branch]
2022-08-24 22:45:13 -04:00

39 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/UnrealString.h"
#include "HAL/Platform.h"
#include "IDetailCustomization.h"
#include "Templates/SharedPointer.h"
class IDetailLayoutBuilder;
class IPropertyHandle;
enum class ECheckBoxState : uint8;
class FSceneCaptureDetails : public IDetailCustomization
{
public:
/** Makes a new instance of this detail layout class for a specific detail view requesting it */
static TSharedRef<IDetailCustomization> MakeInstance();
private:
/** IDetailCustomization interface */
virtual void CustomizeDetails( IDetailLayoutBuilder& DetailLayout ) override;
private:
/** The show flags property on the SceneCaptureComponent */
TSharedPtr<IPropertyHandle> ShowFlagSettingsProperty;
/**
* Gets the display state to send to a display filter check box
*
* @param The type of checkbox.
* @return The desired checkbox state.
*/
ECheckBoxState OnGetDisplayCheckState(FString ShowFlagName) const;
/** Show flag settings changed, so update the scene capture */
void OnShowFlagCheckStateChanged(ECheckBoxState InNewRadioState, FString FlagName);
};