载入中...
搜索中...
未找到
UnderwaterAudio.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
5#include "common/Result.h"
6
7namespace eve::audio {
8class Source;
9
23[[nodiscard]] EVENGINE_API_BACKENDS Result<void> applyUnderwaterAudio(Source* submergeDown, Source* submergeUp,
24 Source* ambience, bool playDown, bool playUp,
25 bool loopAmbience, float volume);
26}
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)
Apply one Pcg underwater audio transition to caller-owned sources.