One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

Audio.DistanceAttenuation

enum · iOS 18.0+ · SDK 27.1

enum DistanceAttenuation

The different ways that audio intensity diminishes as the distance between the listener and the sound source increases.

Members (1)

get · iOS 18.0+

default

TypeScript
static get default(): Audio_DistanceAttenuation
Swift declaration
static let `default`: Audio.DistanceAttenuation

The default distance attenuation, which uses a rolloff model that mimics real-world physics. The ``Audio/DistanceAttenuation/rolloff(factor:)`` model attenuates spatial audio with a factor of `1.0` as the listener moves away from the source.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →