class
FVisualScriptUnitLoader
- Module
- VisualScripting
- Header
#include "VisualScripting/VisualScriptUnitLoader.h"- Namespace
Mowo
Public functions
| Returns | Name | Description |
|---|---|---|
EVisualScriptRoot | RegisterText | Parses text and, when its root is an interface or a library, registers it (replacing a unit of the same name). |
EVisualScriptRoot | RegisterFile | Reads path and registers it as RegisterText does. |
size_t | RegisterFiles | RegisterFile over every path; returns how many interfaces and libraries registered. |
Function details
RegisterText
C++
static EVisualScriptRoot RegisterText(const std::string& text, const std::string& source)Parses text and, when its root is an interface or a library, registers it (replacing a unit of the same name). Returns the root it found; Unknown when the text does not parse, Class when it is a class (nothing is registered). source names the file in the log and becomes the unit's asset path.
RegisterFile
C++
static EVisualScriptRoot RegisterFile(const std::string& path)Reads path and registers it as RegisterText does.
RegisterFiles
C++
static size_t RegisterFiles(const std::vector<std::string>& paths)RegisterFile over every path; returns how many interfaces and libraries registered.
Generated from VisualScripting/VisualScriptUnitLoader.h via visualscripting.json · Dec 5, 2026Version 1.1.0