文档

Unity Engine

Unity Engine

AudioRolloffMode

Rolloff modes that a 3D sound can have in an audio source.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public enum AudioRolloffMode

Fields

Value

Description

CustomUse this when you want to use a custom rolloff.
LinearUse this mode when you want to lower the volume of your sound over the distance.
LogarithmicUse this mode when you want a real-world rolloff.