API reference

MetaXRAcousticSettings Class

Extends ScriptableObject
This class exposes controls for the Meta XR Acoustics SDK at a project level.

Internal Fields

AcousticFileRootDir : const string
Signature
const string MetaXRAcousticSettings.AcousticFileRootDir

Properties

AcousticModel : AcousticModel
[Get][Set]
The reflections engine used during runtime.
Signature
AcousticModel MetaXRAcousticSettings.AcousticModel
DiffractionEnabled : bool
[Get][Set]
When enabled and using geometry, all spatailized AudioSources will diffract (propagate around corners and obstructions)
Signature
bool MetaXRAcousticSettings.DiffractionEnabled
ExcludeTags : string []
[Get][Set]
Geometry will exclude children with these tags.
Signature
string [] MetaXRAcousticSettings.ExcludeTags
[Get]
The singleton instance of the project settings.
Signature
MetaXRAcousticSettings MetaXRAcousticSettings.Instance
MapBakeWriteGeo : bool
[Get][Set]
When you bake an acoustic map, also bake all the acoustic geometry files.
Signature
bool MetaXRAcousticSettings.MapBakeWriteGeo

Internal Methods

ApplyAllSettings ()
Provide all current settings to the native DLL.
Signature
void MetaXRAcousticSettings.ApplyAllSettings()
Returns
void