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

Method GetSignalMode

Source/FlowEditor/Private/Graph/Nodes/FlowGraphNode.cpp:1220–1237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1218}
1219
1220EFlowSignalMode UFlowGraphNode::GetSignalMode() const
1221{
1222 if (IsSubNode())
1223 {
1224 // SubNodes count as enabled for signal mode queries in the editor
1225 return EFlowSignalMode::Enabled;
1226 }
1227
1228 const UFlowNode* FlowNode = Cast<UFlowNode>(NodeInstance);
1229 if (IsValid(FlowNode))
1230 {
1231 return FlowNode->SignalMode;
1232 }
1233 else
1234 {
1235 return EFlowSignalMode::Disabled;
1236 }
1237}
1238
1239bool UFlowGraphNode::CanSetSignalMode(const EFlowSignalMode Mode) const
1240{

Callers 6

DetermineWiringStyleMethod · 0.80
GetNodeTitleColorMethod · 0.80
GetNodeBodyColorMethod · 0.80
GetNodeTitleIconColorMethod · 0.80
GetNodeTitleTextColorMethod · 0.80
GetEnabledStateWidgetMethod · 0.80

Calls 1

IsValidFunction · 0.85

Tested by

no test coverage detected