FKismetCompilerContext::PrecompileFunction

First phase of compiling a function graph

Windows
MacOS
Linux

Override Hierarchy

References

Module

KismetCompiler

Header

/Engine/Source/Editor/KismetCompiler/Public/KismetCompiler.h

Include

#include "KismetCompiler.h"

Source

/Engine/Source/Editor/KismetCompiler/Private/KismetCompiler.cpp

Syntax

virtual void PrecompileFunction
(
    FKismetFunctionContext & Context,
    EInternalCompilerFlags InternalFlags
)

Remarks

First phase of compiling a function graph

  • Performs initial validation that the graph is at least well formed enough to be processed further

  • Creates a copy of the graph to allow further transformations to occur

  • Prunes the 'graph' to only included the connected portion that contains the function entry point

  • Schedules execution of each node based on data/execution dependencies

  • Creates a UFunction object containing parameters and local variables (but no script code yet)

First phase of compiling a function graph

  • Prunes the 'graph' to only included the connected portion that contains the function entry point

  • Schedules execution of each node based on data dependencies

  • Creates a UFunction object containing parameters and local variables (but no script code yet)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss