MCPcopy Create free account
hub / github.com/MothCocoon/FlowGraph / CreateFlowPin

Method CreateFlowPin

Source/Flow/Private/Types/FlowNamedDataPinProperty.cpp:11–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10#if WITH_EDITOR
11FFlowPin FFlowNamedDataPinProperty::CreateFlowPin() const
12{
13 if (const FFlowDataPinValue* FlowDataPinValuePtr = DataPinValue.GetPtr<FFlowDataPinValue>())
14 {
15 if (const FFlowPinType* FlowPinType = FFlowPinType::LookupPinType(FlowDataPinValuePtr->GetPinTypeName()))
16 {
17 return FlowPinType->CreateFlowPinFromValueWrapper(Name, *FlowDataPinValuePtr);
18 }
19 }
20
21 return FFlowPin();
22}
23
24FText FFlowNamedDataPinProperty::BuildHeaderText() const
25{

Callers 2

AutoGenerateDataPinsMethod · 0.80

Calls 2

FFlowPinFunction · 0.50

Tested by

no test coverage detected