menu
 
Version
2024.1.6.8842

2024.1.6.8842

2023.1.14.8770

2025.1.0.8897

2022.1.19.8584

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624

menu

Wwise SDK 2024.1.6

◆ fGameUnitsToMeters

AkReal32 AkInitSettings::fGameUnitsToMeters

The number of game units in a meter. This setting is used to adapt the size of elements in the Authoring's Game Object 3D Viewer and Audio Object 3D Viewer to meters. This setting is also used to simulate real-world positioning of System Audio Objects, to improve the HRTF in some cases. Note that for legacy reasons, this setting's name is misleading. Its value should represent the number of game units per meter. For example, if your game engine sends positions in centimeters, the value of fGameUnitsToMeters should be 100.

Definition at line 256 of file AkSoundEngine.h.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise