void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.CLAHE)) { LogError("owner is not initialized. Add Action \"newCLAHE\"."); return; } OpenCVForUnity.ImgprocModule.CLAHE wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.CLAHE, OpenCVForUnity.ImgprocModule.CLAHE>(owner); wrapped_owner.setClipLimit((float)clipLimit.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.CLAHE)) { LogError("owner is not initialized. Add Action \"newCLAHE\"."); return; } OpenCVForUnity.ImgprocModule.CLAHE wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.CLAHE, OpenCVForUnity.ImgprocModule.CLAHE>(owner); if (!(clipLimit.Value is OpenCVForUnityPlayMakerActions.Double)) { LogError("clipLimit is not initialized. Add Action \"newDouble\"."); return; } System.Double wrapped_clipLimit = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Double, System.Double>(clipLimit); wrapped_owner.setClipLimit(wrapped_clipLimit); }