void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.ANN_MLP)) { LogError("owner is not initialized. Add Action \"newANN_MLP\"."); return; } OpenCVForUnity.MlModule.ANN_MLP wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.ANN_MLP, OpenCVForUnity.MlModule.ANN_MLP>(owner); wrapped_owner.setRpropDWPlus((float)val.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.ANN_MLP)) { LogError("owner is not initialized. Add Action \"newANN_MLP\"."); return; } OpenCVForUnity.MlModule.ANN_MLP wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.ANN_MLP, OpenCVForUnity.MlModule.ANN_MLP>(owner); if (!(val.Value is OpenCVForUnityPlayMakerActions.Double)) { LogError("val is not initialized. Add Action \"newDouble\"."); return; } System.Double wrapped_val = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Double, System.Double>(val); wrapped_owner.setRpropDWPlus(wrapped_val); }