ドキュメント

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.