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