载入中...
搜索中...
未找到
UnderwaterAudio.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4#include "common/Result.h"
5
6namespace eve::audio {
7class Source;
8
24[[nodiscard]] EVENGINE_API_BACKENDS Result<void> applyUnderwaterAudio(Source* submergeDown, Source* submergeUp,
25 Source* ambience, bool playDown, bool playUp,
26 bool loopAmbience, float volume,
27 float fadeSeconds, float now);
28} // namespace eve::audio
double volume
#define EVENGINE_API_BACKENDS
Definition Export.h:108
Move-only, checked operation results for the common layer.
Result< void > applyUnderwaterAudio(Source *submergeDown, Source *submergeUp, Source *ambience, bool playDown, bool playUp, bool loopAmbience, float volume, float fadeSeconds, float now)
Apply one Pcg underwater audio transition to caller-owned sources.