MCPcopy Create free account
hub / github.com/BobbyAnguelov/Esoterica / GetPinDirection

Method GetPinDirection

Code/EngineTools/NodeGraph/NodeGraph_FlowGraph.cpp:9–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace EE::NodeGraph
8{
9 Pin::Direction FlowNode::GetPinDirection( UUID const& pinID ) const
10 {
11 if ( HasInputPin( pinID ) )
12 {
13 return Pin::Direction::Input;
14 }
15
16 if ( HasOutputPin( pinID ) )
17 {
18 return Pin::Direction::Output;
19 }
20
21 return Pin::Direction::None;
22 }
23
24 Pin const* FlowNode::GetInputPin( UUID const& pinID ) const
25 {

Callers 3

OnDragConnectionMethod · 0.80

Calls 2

HasInputPinFunction · 0.85
HasOutputPinFunction · 0.85

Tested by

no test coverage detected