wetMix
Volume of echo signal to pass to output. 0.0 to 1.0. Default = 1.0.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.AudioModule
public float wetMix { get; set; }
Examples
using UnityEngine;[RequireComponent(typeof(AudioSource))][RequireComponent(typeof(AudioEchoFilter))]public class Example : MonoBehaviour{ // Mixes both Echo generated sound and the original audio source // if you set the wetMix to 0 you will not have Echo sounds. void Start() { GetComponent<AudioEchoFilter>().wetMix = 1.0f; GetComponent<AudioEchoFilter>().dryMix = 1.0f; }}