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 (!(storeResult.Value is OpenCVForUnityPlayMakerActions.MatOfPoint2f)) { storeResult.Value = new OpenCVForUnityPlayMakerActions.MatOfPoint2f(); } ((OpenCVForUnityPlayMakerActions.MatOfPoint2f)storeResult.Value).wrappedObject = wrapped_owner.getSamplingPoints(); }