void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.VariationalRefinement)) { LogError("owner is not initialized. Add Action \"newVariationalRefinement\"."); return; } OpenCVForUnity.VideoModule.VariationalRefinement wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.VariationalRefinement, OpenCVForUnity.VideoModule.VariationalRefinement>(owner); wrapped_owner.setSorIterations(val.Value); }