Version

menu_open
AKRESULT __cdecl AK::SoundEngine::Query::GetGameObjectAuxSendValues ( AkGameObjectID  in_gameObjectID,
AkAuxSendValue out_paAuxSendValues,
AkUInt32 io_ruNumSendValues  
)

Get the environmental ratios used by the specified game object. The array size cannot exceed AK_MAX_AUX_PER_OBJ. To clear the game object's environments, in_uNumEnvValues must be 0.

Note.gif
Note: The actual maximum number of environments in which a game object can be is AK_MAX_AUX_PER_OBJ.
See also:
Returns:
AK_Success if succeeded, or AK_InvalidParameter if io_ruNumEnvValues is 0 or out_paEnvironmentValues is NULL, or AK_PartialSuccess if more environments exist than io_ruNumEnvValues AK_InvalidParameter
Parameters:
in_gameObjectID  Associated game object ID
out_paAuxSendValues  Variable-size array of AkAuxSendValue structures (it may be NULL if no aux send must be set, and its size cannot exceed AK_MAX_AUX_PER_OBJ)
io_ruNumSendValues  The number of Auxilliary busses at the pointer's address (it must be 0 if no aux bus is set, and can not exceed AK_MAX_AUX_PER_OBJ)

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