void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.SimpleBlobDetector_Params)) { LogError("owner is not initialized. Add Action \"newSimpleBlobDetector_Params\"."); return; } OpenCVForUnity.Features2dModule.SimpleBlobDetector_Params wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.SimpleBlobDetector_Params, OpenCVForUnity.Features2dModule.SimpleBlobDetector_Params>(owner); wrapped_owner.set_minThreshold(minThreshold.Value); }