目次

AKRESULT __cdecl AK::SoundEngine::SetPosition ( AkGameObjectID  in_GameObjectID,
const AkSoundPosition in_Position  
)

Set the position of a game object.

警告:
The object's orientation vector (in_Position.Orientation) must be normalized.
戻り値:
  • AK_Success when successful
  • AK_InvalidParameter if parameters are not valid.
参照:
引数:
in_GameObjectID  Game object identifier
in_Position  Position to set; in_Position.Orientation must be normalized.