WOWCube Docs logo
WOWCube Docs
Mission Control
Section Shortcuts
APIExamplesSourceWOWConnectChangelog
Filters
SDK and language defaults persist in cookies.
SDK version
Navigation Tree
Collapsed by default, focused on the active path.
Made byMcKay Seamons
GitHub
  1. Home
  2. Docs
  3. API
  4. Cubios::Sound
Mission NodeSDK 6.1C++gfx engine

Cubios::Sound

Cubios::Sound Constructors Sound Summary Constructs an object for playing a sound Arguments name name of audio resource Synopsis Sound(const std::string& nam...

API / SDK 6.1 / C++ / gfx engine

Cubios::Sound

Constructors

Sound

Summary

Constructs an object for playing a sound

Arguments

  • name - name of audio resource

Synopsis

Cubios::Sound
CPP
1Sound(const std::string& name)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Public Methods

Play

Summary

Plays the sound

Arguments

  • volume - sound playback volume, [0,100]

Synopsis

Cubios::Sound
CPP
1void Play(uint8_t volume = 100)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Jump Grid

On This Page

ConstructorsSoundPublic MethodsPlay
Context Rail

Related nodes

Cubios::Math
API / SDK 6.1 / C++ / gfx engine
Cubios::Math::Vec2
API / SDK 6.1 / C++ / gfx engine
Cubios::Math::Transform
API / SDK 6.1 / C++ / gfx engine
Cubios::Math::Color
API / SDK 6.1 / C++ / gfx engine
Previous Node
Cubios::Gfx::OffscreenRenderTarget
API / SDK 6.1 / C++ / gfx engine
Next Node
Cubios::Scene
API / SDK 6.1 / C++ / gfx engine