Navigation
API > API/Plugins > API/Plugins/NiagaraEditor
Interface for Niagara compilers. NOTE: the graph->hlsl translation step is now in FNiagaraHlslTranslator
| Name | INiagaraCompiler |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/INiagaraCompiler.h |
| Include Path | #include "INiagaraCompiler.h" |
Syntax
class INiagaraCompiler
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 CompileScript
(
const FNiagaraCompileRequestData* InCompileRequest, |
INiagaraCompiler.h | ||
int32 CompileScript
(
const FStringView GroupName, |
Starts the async compilation of a script and returns the job handle to retrieve the results | INiagaraCompiler.h | |
void Error
(
FText ErrorText |
Adds an error to be reported to the user. Any error will lead to compilation failure. | INiagaraCompiler.h | |
TOptional< FNiagaraCompileResults > GetCompileResult
(
int32 JobID, |
Returns the compile result for a given job id once the job has finished compiling. | INiagaraCompiler.h | |
void Warning
(
FText WarningText |
Adds a warning to be reported to the user. Warnings will not cause a compilation failure. | INiagaraCompiler.h |