Files
UnrealEngineUWP/Engine/Source/Editor/Persona/Private/AnimInstanceDetails.h
Ben Marsh 149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00

28 lines
946 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "PropertyEditorModule.h"
/////////////////////////////////////////////////////
// FAnimInstanceDetails
class FAnimInstanceDetails : public IDetailCustomization
{
public:
static TSharedRef<IDetailCustomization> MakeInstance();
// IDetailCustomization interface
virtual void CustomizeDetails(class IDetailLayoutBuilder& DetailBuilder) override;
// End of IDetailCustomization interface
protected:
// Creates a filtered object widget if the supplied property is an object property
TSharedRef<SWidget> CreateFilteredObjectPropertyWidget(UProperty* TargetProperty, TSharedRef<IPropertyHandle> TargetPropertyHandle);
/** Delegate to handle filtering of asset pickers */
bool OnShouldFilterAnimAsset( const FAssetData& AssetData ) const;
/** Path to the current blueprints skeleton to allow us to filter asset pickers */
FString TargetSkeletonName;
};