Uber Graph Persistent Frame - All local variables, used by event graphs (see FKismetFunctionContext::EventGraphLocals), are no longer stored in class scope. They are stored on a frame (as local variables in regular functions). For the ExecuteUbergraph_*() functions the FFrameÆs allocation is kept for the life of the object.

#codereview Nick.Whiting

[CL 2329973 by Maciej Mroz in Main branch]
This commit is contained in:
Maciej Mroz
2014-10-15 06:31:31 -04:00
committed by UnrealBot
parent 51d90e1878
commit 86b4638862
18 changed files with 534 additions and 69 deletions
@@ -0,0 +1,26 @@
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "K2Node_SetVariableOnPersistentFrame.generated.h"
/*
* FOR INTERNAL USAGE ONLY!
*/
UCLASS(MinimalAPI)
class UK2Node_SetVariableOnPersistentFrame : public UK2Node
{
GENERATED_BODY()
public:
// Begin UEdGraphNode interface
virtual void AllocateDefaultPins() override;
// End UEdGraphNode interface
// Begin K2Node interface
virtual bool IsNodePure() const override { return false; }
virtual class FNodeHandlingFunctor* CreateNodeHandler(class FKismetCompilerContext& CompilerContext) const override;
// End K2Node interface
};