버전

menu_open
AKRESULT __cdecl AK::MotionEngine::AddPlayerMotionDevice ( AkUInt8  in_iPlayerID,
AkUInt32  in_iCompanyID,
AkUInt32  in_iDeviceID,
void *  in_pDevice = NULL  
)

Connects a motion device to a player. Call this function from your game to tell the motion engine that a player is using the specified device.

Returns:
  • AK_Success if the initialization was successful
  • AK_Fail if the device could not be initialized. Usually this means the drivers are not installed.
See also:
Parameters:
in_iPlayerID  Player number, must be between 0 and 3. See platform-specific documentation for more details.
in_iCompanyID  Company ID providing support for the device
in_iDeviceID  Device ID, must be one of the currently supported devices.
in_pDevice  PS4: PS4 Device handle, returned by scePadOpen. Windows: Windows Direct Input Device reference for DirectInput. NULL to use XInput. WiiU: Use AK_MOTION_WIIMOTE_DEVICE to add a Wiimote or AK_MOTION_DRC_DEVICE to add a DRC device. XboxOne: Use IGamepad::Id. > Keep NULL for all other platforms.

이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요