INiagaraCompiler::CompileScript

Starts the async compilation of a script and returns the job handle to retrieve the results

Choose your operating system:

Windows

macOS

Linux

References

Module

NiagaraEditor

Header

/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/INiagaraCompiler.h

Include

#include "INiagaraCompiler.h"

Syntax

int32 CompileScript
(
    const FNiagaraCompileRequestData * InCompileRequest,
    const FNiagaraCompileOptions & InOptions,
    const FNiagaraTranslateResults & InTranslateResults,
    FNiagaraTranslatorOutput * TranslatorOutput,
    FString & TranslatedHLSL
)

Remarks

Starts the async compilation of a script and returns the job handle to retrieve the results