class
VisualScriptAssetLoadProvider
Asset-load provider for the AsyncLoadAsset action. Visual Scripting sits far below the asset system, so the node owns only the latent plumbing: the module that wires the asset manager installs one of these and the node polls it on the game thread. With none installed the node fires OnFailed on its first tick, which is the honest answer for a host that has no asset system at all.
- Module
- VisualScripting
- Header
#include "VisualScripting/VisualScriptAsync.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
virtual ~VisualScriptAssetLoadProvider() = default | ~VisualScriptAssetLoadProvider |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | BeginLoad | Called once when the node starts. |
EVisualScriptAsyncPoll | PollLoad | Polled once per frame after BeginLoad until it stops reporting Pending. |
Function details
~VisualScriptAssetLoadProvider
C++
virtual ~VisualScriptAssetLoadProvider() = defaultBeginLoad
C++
virtual bool BeginLoad(const std::string& path) = 0Called once when the node starts. False fails the node immediately — the path names nothing the asset registry knows about.
PollLoad
C++
virtual EVisualScriptAsyncPoll PollLoad(const std::string& path, VisualScriptValue& outObject) = 0Polled once per frame after BeginLoad until it stops reporting Pending. On Succeeded, outObject is packed onto the node's OnLoaded data pin.
Generated from VisualScripting/VisualScriptAsync.h via visualscripting.json · Nov 5, 2026Version 1.0.0