void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.DetectorParameters)) { LogError("owner is not initialized. Add Action \"newDetectorParameters\"."); return; } OpenCVForUnity.ArucoModule.DetectorParameters wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.DetectorParameters, OpenCVForUnity.ArucoModule.DetectorParameters>(owner); storeResult.Value = (float)wrapped_owner.get_polygonalApproxAccuracyRate(); }