版本

    其他文档

menu_open
AKRESULT __cdecl AK::SoundEngine::SetGameObjectAuxSendValues ( AkGameObjectID  in_gameObjectID,
AkAuxSendValue in_aAuxSendValues,
AkUInt32  in_uNumSendValues  
)

Set the auxiliary busses to route the specified game object The array size cannot exceed AK_MAX_AUX_PER_OBJ. To clear the game object's auxiliary sends, in_uNumSendValues must be 0.

Note.gif
Note: The actual maximum number of aux sends in which a game object can be is AK_MAX_AUX_PER_OBJ.
Note.gif
Note: If an send control value is set to 0%, the effect won't be inserted at all, as if it wasn't part of the array.
See also:
Returns:
  • AK_Success if successful
  • AK_InvalidParameter if the array size exceeds AK_MAX_AUX_PER_OBJ, or if a duplicated environment is found in the array
Parameters:
in_gameObjectID  Associated game object ID
in_aAuxSendValues  Variable-size array of AkAuxSendValue structures (it may be NULL if no environment must be set, and its size cannot exceed AK_MAX_AUX_PER_OBJ)
in_uNumSendValues  The number of auxiliary busses at the pointer's address (it must be 0 if no environment is set, and can not exceed AK_MAX_AUX_PER_OBJ)

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅