class

FVisualScriptMarshal

Module
VisualScripting
Header
#include "VisualScripting/VisualScriptMarshal.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
VisualScriptValueScalarFromStorageA scalar (Bool ..
boolScalarToStorage
boolIsContainer
VisualScriptValueElementFromStorageOne container element or key: a scalar at its natural or declared width, an enum or small integer through the descriptor's width, or a registered struct.
boolElementToStorage
boolIsSupportedWhether a container descriptor's element (and key) types can be marshalled.
VisualScriptValueContainerToValuenative -> graph value (Array/Map/Set of the descriptor's element types).
voidContainerFromValuegraph value -> native: clears the container and refills it.
VisualScriptValueEmptyContainerValueThe graph value that a container pin of this descriptor holds when empty.

Function details

ScalarFromStorage

C++
static VisualScriptValue ScalarFromStorage(FMValueType type, const void* storage)

A scalar (Bool .. String, Object) read from / written to storage of exactly the C++ type the tag names. Other tags read as an empty value and write nothing.

ScalarToStorage

C++
static bool ScalarToStorage(FMValueType type, const VisualScriptValue& value, void* storage)

IsContainer

C++
static bool IsContainer(const FMContainerDesc& desc)

ElementFromStorage

C++
static VisualScriptValue ElementFromStorage(const FMContainerDesc& desc, bool isKey, const void* storage)

One container element or key: a scalar at its natural or declared width, an enum or small integer through the descriptor's width, or a registered struct.

ElementToStorage

C++
static bool ElementToStorage(const FMContainerDesc& desc, bool isKey, const VisualScriptValue& value, void* storage)

IsSupported

C++
static bool IsSupported(const FMContainerDesc& desc)

Whether a container descriptor's element (and key) types can be marshalled.

ContainerToValue

C++
static VisualScriptValue ContainerToValue(const FMContainerDesc& desc, const void* native)

native -> graph value (Array/Map/Set of the descriptor's element types).

ContainerFromValue

C++
static void ContainerFromValue(const FMContainerDesc& desc, const VisualScriptValue& value, void* native)

graph value -> native: clears the container and refills it. A value that is not a container of the right shape leaves the container empty.

EmptyContainerValue

C++
static VisualScriptValue EmptyContainerValue(const FMContainerDesc& desc)

The graph value that a container pin of this descriptor holds when empty.

Generated from VisualScripting/VisualScriptMarshal.h via visualscripting.json · Dec 5, 2026Version 1.1.0