class

SoundCueAsset

.msoundcue — a UE-style SoundCue authored as a node graph (WavePlayer, Random, Mixer, Modulator, Attenuation, Looping, Output). MDF-backed Asset (not an MObject), matching the engine's other data assets.

Module
AssetSystem
Header
#include "AssetSystem/Assets/SoundCueAsset.h"
Namespace
Mowo

Constructors

SignatureNameDescription
SoundCueAsset()SoundCueAsset
~SoundCueAsset() override~SoundCueAsset

Public functions

ReturnsNameDescription
boolLoad
voidUnload
boolSaveToFile
std::stringSerializeToString
boolLoadFromString
voidCollectDependencyPaths
std::vector<FSoundCueNode>&Nodes
const std::vector<FSoundCueNode>&Nodes
std::vector<FSoundCueConnection>&Connections
const std::vector<FSoundCueConnection>&Connections
FSoundCueNode*FindNode
const FSoundCueNode*FindNode
FSoundCueSettings&Settings
const FSoundCueSettings&Settings
std::stringAddNode
voidRemoveNode
boolConnect
voidDisconnect
std::stringEnsureOutputGuarantees exactly one Output node exists and returns its id.
std::stringOutputNodeId
boolResolveWalk the graph from Output and flatten it to a playable voice.
boolConfigureRuntimeCueConfigure a runtime SoundCue from the resolved graph (clips + ranges + loop + attenuation) and the cue-wide settings (bus, cooldown, instance cap, caption), ready to Play().
const char*NodeTypeToString
ESoundCueNodeTypeNodeTypeFromString

Function details

SoundCueAsset

C++
SoundCueAsset()

~SoundCueAsset

C++
~SoundCueAsset() override

Load

C++
bool Load(const std::string& path) override

Unload

C++
void Unload() override

SaveToFile

C++
bool SaveToFile(const std::string& path) const

SerializeToString

C++
std::string SerializeToString() const

LoadFromString

C++
bool LoadFromString(const std::string& text)

CollectDependencyPaths

C++
void CollectDependencyPaths(std::vector<std::string>& out) const override

Nodes

C++
std::vector<FSoundCueNode>& Nodes()

Nodes

C++
const std::vector<FSoundCueNode>& Nodes() const

Connections

C++
std::vector<FSoundCueConnection>& Connections()

Connections

C++
const std::vector<FSoundCueConnection>& Connections() const

FindNode

C++
FSoundCueNode* FindNode(const std::string& id)

FindNode

C++
const FSoundCueNode* FindNode(const std::string& id) const

Settings

C++
FSoundCueSettings& Settings()

Settings

C++
const FSoundCueSettings& Settings() const

AddNode

C++
std::string AddNode(ESoundCueNodeType type, float x, float y)

RemoveNode

C++
void RemoveNode(const std::string& id)

Connect

C++
bool Connect(const std::string& fromNodeId, const std::string& toNodeId)

Disconnect

C++
void Disconnect(const std::string& fromNodeId, const std::string& toNodeId)

EnsureOutput

C++
std::string EnsureOutput()

Guarantees exactly one Output node exists and returns its id.

OutputNodeId

C++
std::string OutputNodeId() const

Resolve

C++
bool Resolve(FSoundCueResolved& out) const

Walk the graph from Output and flatten it to a playable voice.

ConfigureRuntimeCue

C++
bool ConfigureRuntimeCue(SoundCue& cue) const

Configure a runtime SoundCue from the resolved graph (clips + ranges + loop + attenuation) and the cue-wide settings (bus, cooldown, instance cap, caption), ready to Play().

NodeTypeToString

C++
static const char* NodeTypeToString(ESoundCueNodeType type)

NodeTypeFromString

C++
static ESoundCueNodeType NodeTypeFromString(const std::string& text)
Generated from AssetSystem/Assets/SoundCueAsset.h via assetsystem.json · Nov 4, 2026Version 1.0.0