API reference

MetaXRAcousticSettings Class

Extends ScriptableObject
This class exposes controls for the Meta XR Acoustics SDK at a project level You can use this class to programmatically control the acoustics settings for the entire project at runtime. Note any changes made to this data struct will not be written do disk and thus not persist across game loads. Any settings that intended to persist across game loads should be done in the project settings window under the "Meta XR Acoustics" panel. Use MetaXRAcousticSettings.Instance to gain access to the singleton instance of the global project settings.

Object Data for package-attrib

const string AcousticFileRootDir[Get]

Properties

The reflections engine used during runtime.
When enabled and using geometry, all spatailized AudioSources will diffract (propagate around corners and obstructions)
Geometry will exclude children with these tags.
When you bake an acoustic map, also bake all the acoustic geometry files.
The singleton instance of the project settings. This instance is project wide and will be automatically created on first access if needed. Any settings that are intended to persist across game loads should be done in the project settings window under the "Meta XR Acoustics" panel. See MetaXRAcousticSettings for settings values.

Object Data for package-func

Provide all current settings to the native DLL.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon