Files
UnrealEngineUWP/Engine/Source/Editor/AnimGraph/Private/CustomPropertyOptionalPinManager.h
aurel cordonnier a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00

27 lines
874 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "K2Node.h"
class UEdGraphPin;
class UAnimGraphNode_CustomProperty;
struct FCustomPropertyOptionalPinManager : public FOptionalPinManager
{
protected:
UAnimGraphNode_CustomProperty* CustomPropertyNode;
TArray<UEdGraphPin*>* OldPins;
public:
FCustomPropertyOptionalPinManager(UAnimGraphNode_CustomProperty* InCustomPropertyNode, TArray<UEdGraphPin*>* InOldPins);
/** FOptionalPinManager interface */
virtual void GetRecordDefaults(FProperty* TestProperty, FOptionalPinFromProperty& Record) const override;
virtual bool CanTreatPropertyAsOptional(FProperty* TestProperty) const override;
virtual void CustomizePinData(UEdGraphPin* Pin, FName SourcePropertyName, int32 ArrayIndex, FProperty* Property) const override;
void CreateCustomPins(UClass* TargetClass);
};