You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485 [CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
27 lines
874 B
C++
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);
|
|
};
|