Version
menu
|
Wwise SDK 2025.1.4
|
#include AkCommandTypes.h>
Public Attributes | |
| AkImageSourceID | imageSourceID |
| The ID of the image source being added. More... | |
| struct AkImageSourceSettings | info |
| Image source information. More... | |
| AkUniqueID | auxBusID |
| Aux bus that has the AkReflect plug in for early reflection DSP. Pass AK_INVALID_AUX_ID to use the reflections aux bus defined in the authoring tool. More... | |
| AkGameObjectID | gameObjectID |
| The ID of the emitter game object to which the image source applies. Pass AK_INVALID_GAME_OBJECT to apply to all game objects that have a reflections aux bus assigned in the authoring tool. More... | |
Add or update an individual image source for processing via the AkReflect plug-in. Use this API for detailed placement of reflection image sources, whose positions have been determined by the client, such as from the results of a ray cast, computation or by manual placement. One possible use case is generating reflections that originate far enough away that they can be modeled as a static point source, for example, off of a distant mountain. The SpatialAudio API manages image sources added via AkCmd_SA_SetImageSource and sends them to the AkReflect plug-in that is on the aux bus with ID auxBusID. The image source applies all game objects that have a reflections aux send defined in the authoring tool, or only to a specific game object if gameObjectID is used.
![]() | Note: The
Optionally, you can associate a name to the image source for profiling purposes. Call AK_CommandBuffer_AddString after adding the command to attach a name to the image source: auto cmd = (AkCmd_SA_SetImageSource*)AK_CommandBuffer_Add(buffer, AkCommand_SA_SetImageSource); // Fill command... AK_CommandBuffer_AddString(buffer, "My image source"); This command can fail for the following reasons:
|
Definition at line 1392 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