MCPcopy Create free account
hub / github.com/MrDrElliot/LuminaEngine / CreatePin

Method CreatePin

Engine/Editor/Source/UI/Tools/NodeGraph/EdGraphNode.cpp:85–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 else
84 {
85 ImGui::TextUnformatted(*Title);
86 }
87 }
88
89 CEdNodeGraphPin* CEdGraphNode::GetRerouteSourcePin() const
90 {
91 const TVector<TStrongObjectPtr<CEdNodeGraphPin>>& Inputs = GetInputPins();
92 return Inputs.IsEmpty() ? nullptr : Inputs[0].Get();
93 }
94
95 CEdNodeGraphPin* CEdGraphNode::GetPin(uint32 ID, ENodePinDirection Direction)
96 {
97 auto& Pins = NodePins[uint32(Direction)];
98 const auto PinItr = Algo::Find(Pins, ID, &CEdNodeGraphPin::PinID);
99

Callers 9

MakeInputFunction · 0.45
BuildSingleInputFunction · 0.45
BuildBinaryInputsFunction · 0.45
MakeInFunction · 0.45
MakeInFunction · 0.45
BuildBinaryMathPinsFunction · 0.45
BuildUnaryMathPinFunction · 0.45
MakeInFunction · 0.45
MakeInFunction · 0.45

Calls 4

HashPinIDFunction · 0.85
SetPinNameMethod · 0.80
uint32Function · 0.50
push_backMethod · 0.45

Tested by

no test coverage detected