class

FAmbienceScheduler

A zone's one-shot timer: how long until the next, which clip, and where it sounds around the listener. Seeded, so the same zone replays the same ambience.

Module
Audio
Header
#include "Audio/AmbienceZones.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
voidReset
boolTickTrue when a one-shot is due; the interval to the next is drawn then.
uint32_tPickClip
Vec3PickPositionA point at a random bearing and distance (up to radius) from origin.
floatGetTimeToNext

Function details

Reset

C++
void Reset(uint32_t seed, float minInterval, float maxInterval)

Tick

C++
bool Tick(float deltaTime)

True when a one-shot is due; the interval to the next is drawn then.

PickClip

C++
uint32_t PickClip(uint32_t clipCount)

PickPosition

C++
Vec3 PickPosition(const Vec3& origin, float radius)

A point at a random bearing and distance (up to radius) from origin.

GetTimeToNext

C++
float GetTimeToNext() const
Generated from Audio/AmbienceZones.h via audio.json · Dec 5, 2026Version 1.1.0