void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.PCTSignatures)) { LogError("owner is not initialized. Add Action \"newPCTSignatures\"."); return; } OpenCVForUnity.Xfeatures2dModule.PCTSignatures wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.PCTSignatures, OpenCVForUnity.Xfeatures2dModule.PCTSignatures>(owner); if (!(samplingPoints.Value is OpenCVForUnityPlayMakerActions.MatOfPoint2f)) { LogError("samplingPoints is not initialized. Add Action \"newMatOfPoint2f\"."); return; } OpenCVForUnity.CoreModule.MatOfPoint2f wrapped_samplingPoints = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.MatOfPoint2f, OpenCVForUnity.CoreModule.MatOfPoint2f>(samplingPoints); wrapped_owner.setSamplingPoints(wrapped_samplingPoints); }