Cubism SDK‎ > ‎Live2D Library‎ > ‎Debug Function‎ > ‎

Check the Motion Playing

You can export the information of playing the motion by setting the debug flag to MotionQueueManager.
It changes to the debug mode if you set "true" for setMotionDebugMode.
It exports the motion ID every time when you execute startMotion.

Setting examples
MotionQueueManager* motionMgr = new MotionQueueManager();
motionMgr->setMotionDebugMode( true );//Change to the debug mode
motionMgr->startMotion( motion , false );//Start the motion


Example of exporting
MotionQueueManager[size: 0]->startMotion() / L2D_NEW_TMP motion (m0)
MotionQueueManager[size: 0]->startMotion() / L2D_NEW_TMP motion (m1)



Comments