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

Method GetNodeTypeText

Source/FlowEditor/Private/Find/FindInFlow.cpp:179–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179FString FFindInFlowResult::GetNodeTypeText() const
180{
181 if (!GraphNode.IsValid())
182 {
183 return FString();
184 }
185
186 if (const UFlowGraphNode* FlowGraphNode = Cast<UFlowGraphNode>(GraphNode.Get()))
187 {
188 if (UFlowNodeBase* Base = FlowGraphNode->GetFlowNodeBase())
189 {
190 return Base->GetClass()->GetDisplayNameText().ToString();
191 }
192 }
193
194 return GraphNode->GetClass()->GetDisplayNameText().ToString();
195}
196
197FText FFindInFlowResult::GetToolTipText() const
198{

Callers 1

OnGenerateRowMethod · 0.80

Calls 5

FStringClass · 0.85
IsValidMethod · 0.80
GetMethod · 0.80
GetFlowNodeBaseMethod · 0.80
ToStringMethod · 0.80

Tested by

no test coverage detected