SBAPI void SBM_SBVHMsgManager_SetEnable( SBMHANDLE sbmHandle, bool enable ) { if ( !SBM_HandleExists( sbmHandle ) ) { return; } SmartBody::SBScene * scene = SmartBody::SBScene::getScene(); SmartBody::SBVHMsgManager * vhmsgManager = scene->getVHMsgManager(); vhmsgManager->setEnable(enable); }
SBAPI void SBM_SBVHMsgManager_SetPort( SBMHANDLE sbmHandle, const char * port ) { if ( !SBM_HandleExists( sbmHandle ) ) { return; } SmartBody::SBScene * scene = SmartBody::SBScene::getScene(); SmartBody::SBVHMsgManager * vhmsgManager = scene->getVHMsgManager(); vhmsgManager->setPort(port); }