Version

menu_open
Wwise SDK 2024.1.3

◆ 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 252 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