32 lines
667 B
Markdown
32 lines
667 B
Markdown
# IAudioEffect::SetWetMix
|
|
|
|
设置相关状态或配置。
|
|
|
|
```cpp
|
|
virtual void SetWetMix(float wetMix);
|
|
```
|
|
|
|
该方法声明于 `XCEngine/Audio/IAudioEffect.h`,当前页面用于固定 `IAudioEffect` 类目录下的方法级 canonical 路径。
|
|
|
|
**参数:**
|
|
- `wetMix` - 参数语义详见头文件声明。
|
|
|
|
**返回:** `void` - 无返回值。
|
|
|
|
**示例:**
|
|
|
|
```cpp
|
|
#include <XCEngine/Audio/IAudioEffect.h>
|
|
|
|
void Example() {
|
|
XCEngine::Audio::IAudioEffect object;
|
|
// 根据上下文补齐参数后调用 IAudioEffect::SetWetMix(...)。
|
|
(void)object;
|
|
}
|
|
```
|
|
|
|
## 相关文档
|
|
|
|
- [返回类总览](IAudioEffect.md)
|
|
- [返回模块目录](../Audio.md)
|