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
| Signature | Name | Description |
|---|---|---|
SoundCueAsset() | SoundCueAsset | |
~SoundCueAsset() override | ~SoundCueAsset |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | Load | |
void | Unload | |
bool | SaveToFile | |
std::string | SerializeToString | |
bool | LoadFromString | |
void | CollectDependencyPaths | |
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::string | AddNode | |
void | RemoveNode | |
bool | Connect | |
void | Disconnect | |
std::string | EnsureOutput | Guarantees exactly one Output node exists and returns its id. |
std::string | OutputNodeId | |
bool | Resolve | Walk the graph from Output and flatten it to a playable voice. |
bool | ConfigureRuntimeCue | 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(). |
const char* | NodeTypeToString | |
ESoundCueNodeType | NodeTypeFromString |
Function details
SoundCueAsset
C++
SoundCueAsset()~SoundCueAsset
C++
~SoundCueAsset() overrideLoad
C++
bool Load(const std::string& path) overrideUnload
C++
void Unload() overrideSaveToFile
C++
bool SaveToFile(const std::string& path) constSerializeToString
C++
std::string SerializeToString() constLoadFromString
C++
bool LoadFromString(const std::string& text)CollectDependencyPaths
C++
void CollectDependencyPaths(std::vector<std::string>& out) const overrideNodes
C++
std::vector<FSoundCueNode>& Nodes()Nodes
C++
const std::vector<FSoundCueNode>& Nodes() constConnections
C++
std::vector<FSoundCueConnection>& Connections()Connections
C++
const std::vector<FSoundCueConnection>& Connections() constFindNode
C++
FSoundCueNode* FindNode(const std::string& id)FindNode
C++
const FSoundCueNode* FindNode(const std::string& id) constSettings
C++
FSoundCueSettings& Settings()Settings
C++
const FSoundCueSettings& Settings() constAddNode
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() constResolve
C++
bool Resolve(FSoundCueResolved& out) constWalk the graph from Output and flatten it to a playable voice.
ConfigureRuntimeCue
C++
bool ConfigureRuntimeCue(SoundCue& cue) constConfigure 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