Files
UnrealEngineUWP/Engine/Source/Editor/DetailCustomizations/Private/MotionControllerDetails.h
erica stella 195fb0661e Removed deprecated motion controller component code.
#jira UE-184934
#rb jeff.fisher jules.blok

[CL 28281132 by erica stella in ue5-main branch]
2023-09-27 13:37:02 -04:00

31 lines
831 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "IDetailCustomization.h"
#include "Internationalization/Text.h"
#include "Templates/SharedPointer.h"
class IDetailLayoutBuilder;
class IPropertyHandle;
class FMotionControllerDetails : public IDetailCustomization
{
public:
/** Makes a new instance of this detail layout class for a specific detail view requesting it */
static TSharedRef<IDetailCustomization> MakeInstance();
/** IDetailCustomization interface */
virtual void CustomizeDetails(IDetailLayoutBuilder& DetailLayout) override;
private:
TSharedPtr<IPropertyHandle> MotionSourceProperty;
// Delegate handler for when UI changes motion source
void OnMotionSourceChanged(FName NewMotionSource);
// Return text for motion source combo box
FText GetMotionSourceValueText() const;
};