Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
SB::Engine::GatherChildrenContext Struct Reference

Contains all information required for gathering sounds for runtime playing and selection. More...

#include <container.h>

Collaboration diagram for SB::Engine::GatherChildrenContext:

Public Attributes

std::vector< const Container * > sounds
 Vector of containers that should play this iteration.
 
LocalParameterList parameters
 List of parameters that are local to this gathering.
 
unsigned int numTimesPlayed
 How many times the voice/node has played.
 

Detailed Description

Contains all information required for gathering sounds for runtime playing and selection.

Member Data Documentation

◆ numTimesPlayed

unsigned int SB::Engine::GatherChildrenContext::numTimesPlayed

How many times the voice/node has played.

Will equal 1 in most cases.

For sequences, this can be higher.

◆ parameters

LocalParameterList SB::Engine::GatherChildrenContext::parameters

List of parameters that are local to this gathering.

Use this to choose sounds based on the current/local context.


The documentation for this struct was generated from the following file: