// 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 MakeInstance(); /** IDetailCustomization interface */ virtual void CustomizeDetails(IDetailLayoutBuilder& DetailLayout) override; private: TSharedPtr MotionSourceProperty; // Delegate handler for when UI changes motion source void OnMotionSourceChanged(FName NewMotionSource); // Return text for motion source combo box FText GetMotionSourceValueText() const; };