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

Method GetRootFlowInstance

Source/Flow/Private/FlowComponent.cpp:480–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480UFlowAsset* UFlowComponent::GetRootFlowInstance() const
481{
482 if (const UFlowSubsystem* FlowSubsystem = GetFlowSubsystem())
483 {
484 const TSet<UFlowAsset*> Result = FlowSubsystem->GetRootInstancesByOwner(this);
485 if (Result.Num() > 0)
486 {
487 return Result.Array()[0];
488 }
489 }
490
491 return nullptr;
492}
493
494void UFlowComponent::TriggerRootFlowCustomInput(const FName& EventName) const
495{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected