Wwise SDK 2023.1.6
|
A Radial Emitter is an emitting game object, set with non-zero inner or outer radii, that simulates sound emitting from a spherical volume of space. The inner and outer radii are set with AK::SpatialAudio::SetGameObjectRadius()
. Otherwise, the game object acts as a point source.
The two radii drive a position-driven spread value that applies to the sounds emitted by the game object. When using a Radial Emitter, it is not necessary to define a spread curve in the Attenuation of the sound.
![]() | 备注: If a game object has a spread curve defined in an Attenuation ShareSet, the spread curve takes precedence over the game object's radial extent passed into AK::SpatialAudio::SetGameObjectRadius . |
The spread is calculated as follows:
The inner radius is also used to calculate the distance between the listener and the radial emitter. The distance sent to the Attenuation of the sound is the distance between the listener's position and the closest point on the surface of the inner radius sphere. In the Game Object 3D Viewer, a plus sign icon indicates the virtual position of the radial emitter.
Combine multipositioned Radial Emitters to simulate a volumetric sound source of any shape. An example is available in the Wwise Audio Lab sample game where the ocean sound is created with a volumetric emitter that follows the shape of the shore.