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

SignatureNameDescription
virtual ~VisualScriptAssetLoadProvider() = default~VisualScriptAssetLoadProvider

Public functions

ReturnsNameDescription
boolBeginLoadCalled once when the node starts.
EVisualScriptAsyncPollPollLoadPolled once per frame after BeginLoad until it stops reporting Pending.

Function details

~VisualScriptAssetLoadProvider

C++
virtual ~VisualScriptAssetLoadProvider() = default

BeginLoad

C++
virtual bool BeginLoad(const std::string& path) = 0

Called 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) = 0

Polled 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