Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/Toolchain > API/Runtime/VerseCompiler/uLang/Toolchain/CToolchain
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Toolchain/Toolchain.h |
| Include | #include "uLang/Toolchain/Toolchain.h" |
void SetProjectVst
(
const TSRef < Verse::Vst::Project > & NewProject
)
Remarks
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.
Parameters
| Name | Description |
|---|---|
| NewProject | The new project to store. |