UNiagaraScript::RequestExternallyManagedAsyncCompile

Request an asynchronous compile for the script, possibly forcing it to compile.

Windows
MacOS
Linux

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraScript.h

Include

#include "NiagaraScript.h"

Source

/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraScript.cpp

Syntax

bool RequestExternallyManagedAsyncCompile
(
    const TSharedPtr< FNiagaraCompileRequestDataBase, ESPMode::ThreadSafe > & RequestData,
    FNiagaraVMExecutableDataId & OutCompileId,
    uint32 & OutAsyncHandle
)

Remarks

Request an asynchronous compile for the script, possibly forcing it to compile. The output values are the compilation id of the data as well as the async handle to gather up the results with. The function returns whether or not any compiles were actually issued.

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