Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/CToolchain
Description
Directly sets the cached VST project to the new project specified.
Warning: doing this will cause the previously cached VST project's destructor to be called, which means that any AST nodes that still hold references to the VST nodes within will now have those references be invalidated. The only time you should use this is if you don't care about the previous VST project anymore and its accompanying AST either.
| Name | SetProjectVst |
| Type | function |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Toolchain/Toolchain.h |
| Include Path | #include "uLang/Toolchain/Toolchain.h" |
void SetProjectVst
(
const TSRef< Verse::Vst::Project > & NewProject
)
Parameters
| Name | Remarks |
|---|---|
| NewProject | The new project to store. |