AudioChorusFilter.feedback 反馈

var feedback : float

Description描述

Chorus feedback. Controls how much of the wet signal gets fed back into the chorus buffer. 0.0 to 1.0. Default = 0.0.

合声反馈。控制效果声信号获得反馈到合声缓冲的多少。 0.0~1.0,默认=0.0。

using UnityEngine;

using System.Collections;



public class example : MonoBehaviour {

	void Start() {

		GetComponent<AudioChorusFilter>().feedback = 0;

	}

}
// Process only once the signal and dont introduce feedback to the filter.

//仅处理一次信号并且不引入反馈给滤波器。

@script RequireComponent(AudioSource)

@script RequireComponent(AudioChorusFilter)



function Start() {

	GetComponent(AudioChorusFilter).feedback = 0;

}
Page last updated: 2011-8-7