FKismetCompilerContext::PrecompileFunction

First phase of compiling a function graph

Unreal Engine C++ API Reference > Editor > KismetCompiler > FKismetCompilerContext

  • FKismetCompilerContext::PrecompileFunction()

References

   
Module KismetCompiler
Header /Engine/Source/Editor/KismetCompiler/Public/KismetCompiler.h
Include #include "KismetCompiler.h"
Source /Engine/Source/Editor/KismetCompiler/Private/KismetCompiler.cpp
virtual void PrecompileFunction
(
    [FKismetFunctionContext](API\Editor\KismetCompiler\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)

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library