Version
menu
|
Wwise SDK 2025.1.4
|
#include AkCommandTypes.h>
Public Attributes | |
| AkGameObjectID | gameObjectID |
| Game object ID. More... | |
| AkReal32 | outerRadius |
Outer radius around each sound position, defining 50% spread. Must satisfy innerRadius outerRadius. More... | |
| AkReal32 | innerRadius |
Inner radius around each sound position, defining 100% spread and 0 attenuation distance. Must satisfy innerRadius outerRadius. More... | |
Define an inner and outer radius around each sound position for a specified game object. If the radii are set to 0, the game object is a point source. Non-zero radii create a Radial Emitter. The radii are used in spread and distance calculations that simulates sound emitting from a spherical volume of space. When applying attenuation curves, the distance between the listener and the inner sphere (defined by the sound position and innerRadius) is used. The spread for each sound position is calculated as follows:
2.0*asinf( outerRadius / distance ), where distance is the distance between the listener and the sound position.outerRadius units away from the sound position), the spread is exactly 50%.![]() | Note: Transmission and diffraction calculations in Spatial Audio always use the center of the sphere (the position(s) passed into This command can fail for the following reasons: |
gameObjectID is invalid or outerRadius > innerRadius gameObjectID is specified but is not a registered game object.Definition at line 1781 of file AkCommandTypes.h.
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise