Distance model for attenuation calculation.
Panning algorithm to use.
Distance at which volume starts to decrease. Sound is at full volume within this distance.
Maximum distance for sound attenuation. For 'linear' model, sound is silent beyond this distance.
How quickly the sound attenuates with distance. Higher values = faster volume decrease.
OptionalconeOptional cone configuration for directional audio. If not provided, sound is omnidirectional.
Configuration for spatial audio behavior. Controls how 3D sounds are positioned and attenuated.