void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TrackerMIL_Params)) { LogError("owner is not initialized. Add Action \"newTrackerMIL_Params\"."); return; } OpenCVForUnity.VideoModule.TrackerMIL_Params wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TrackerMIL_Params, OpenCVForUnity.VideoModule.TrackerMIL_Params>(owner); wrapped_owner.set_samplerTrackMaxPosNum(samplerTrackMaxPosNum.Value); }