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

Method UFlowAsset

Source/Flow/Private/FlowAsset.cpp:46–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44#include UE_INLINE_GENERATED_CPP_BY_NAME(FlowAsset)
45
46UFlowAsset::UFlowAsset(const FObjectInitializer& ObjectInitializer)
47 : Super(ObjectInitializer)
48 , bWorldBound(true)
49#if WITH_EDITORONLY_DATA
50 , FlowGraph(nullptr)
51#endif
52 , AllowedNodeClasses({UFlowNodeBase::StaticClass()})
53 , AllowedInSubgraphNodeClasses({UFlowNode_SubGraph::StaticClass()})
54 , bStartNodePlacedAsGhostNode(false)
55 , TemplateAsset(nullptr)
56 , FinishPolicy(EFlowFinishPolicy::Keep)
57{
58 if (!AssetGuid.IsValid())
59 {
60 AssetGuid = FGuid::NewGuid();
61 }
62
63 ExpectedOwnerClass = GetDefault<UFlowSettings>()->GetDefaultExpectedOwnerClass();
64}
65
66#if WITH_EDITOR
67void UFlowAsset::AddReferencedObjects(UObject* InThis, FReferenceCollector& Collector)

Callers

nothing calls this directly

Calls 2

IsValidMethod · 0.80

Tested by

no test coverage detected