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
| Returns | Name | Description |
|---|---|---|
void | Reset | |
bool | Tick | True when a one-shot is due; the interval to the next is drawn then. |
uint32_t | PickClip | |
Vec3 | PickPosition | A point at a random bearing and distance (up to radius) from origin. |
float | GetTimeToNext |
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() constGenerated from Audio/AmbienceZones.h via audio.json · Dec 5, 2026Version 1.1.0