Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
sbk::engine::gather_children_context Struct Reference

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

#include <container.h>

Collaboration diagram for sbk::engine::gather_children_context:

Public Attributes

std::vector< const container * > sounds
 Vector of containers that should play this iteration.
 
local_parameter_list 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 sbk::engine::gather_children_context::numTimesPlayed

How many times the voice/node has played.

Will equal 1 in most cases.

For sequences, this can be higher.

◆ parameters

local_parameter_list sbk::engine::gather_children_context::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: