UNiagaraScript::BinaryToExecData

Helper to convert the struct from its binary data out of the DDC to it's actual in-memory version.

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

static bool BinaryToExecData
(
    const UNiagaraScript * Script,
    const TArray< uint8 > & InBinaryData,
    FNiagaraVMExecutableData & OutExecData
)

Remarks

Helper to convert the struct from its binary data out of the DDC to it's actual in-memory version. Do not call this on anything other than the game thread as it depends on the FObjectAndNameAsStringProxyArchive, which calls FindStaticObject which can fail when used in any other thread!

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