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

Method GetChordByClass

Source/FlowEditor/Private/FlowEditorCommands.cpp:133–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133TSharedPtr<const FInputChord> FFlowSpawnNodeCommands::GetChordByClass(const UClass* NodeClass) const
134{
135 if (NodeCommands.Contains(NodeClass) && NodeCommands[NodeClass]->GetFirstValidChord()->IsValidChord())
136 {
137 return NodeCommands[NodeClass]->GetFirstValidChord();
138 }
139
140 return nullptr;
141}
142
143TSharedPtr<FEdGraphSchemaAction> FFlowSpawnNodeCommands::GetActionByChord(const FInputChord& InChord) const
144{

Callers 1

ConstructMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected