目次

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.
参照:
戻り値:
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
引数:
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)