Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AudioReverbZone

Reverb Zones are used when you want to create location based ambient effects in the Scene.
Read time 7 minutesLast updated 4 days ago

Definition

[RequireComponent(typeof(Transform))]public sealed class AudioReverbZone : Behaviour

Remarks

As the Audio Listener moves into a Reverb Zone, the ambient effect associated with the zone is gradually applied. At the max distance there is no effect and at the min distance the effect is fully applied. For example you can gradually change your character's footsteps sounds and create the feeling like you where entering into a cavern, going trough a room, swimming underwater, etc.
You can always mix reverb zones to have combined effects. For more info check Reverb Zones in the manual.

Properties

Property

Description

decayHFRatioHigh-frequency to mid-frequency decay time ratio.
decayTimeReverberation decay time at mid frequencies.
densityValue that controls the modal density in the late reverberation decay.
diffusionValue that controls the echo density in the late reverberation decay.
HFReferenceReference high frequency (hz).
LFReferenceReference low frequency (hz).
maxDistanceThe distance from the centerpoint that the reverb will not have any effect. Default = 15.0.
minDistanceThe distance from the centerpoint that the reverb will have full effect at. Default = 10.0.
reflectionsEarly reflections level relative to room effect.
reflectionsDelayInitial reflection delay time.
reverbLate reverberation level relative to room effect.
reverbDelayLate reverberation delay time relative to initial reflection.
reverbPresetSet/Get reverb preset properties.
roomRoom effect level (at mid frequencies).
roomHFRelative room effect level at high frequencies.
roomLFRelative room effect level at low frequencies.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.