void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.MatOfPoint3)) { LogError("owner is not initialized. Add Action \"newMatOfPoint3\"."); return; } OpenCVForUnity.CoreModule.MatOfPoint3 wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.MatOfPoint3, OpenCVForUnity.CoreModule.MatOfPoint3>(owner); List <OpenCVForUnity.CoreModule.Point3> wrapped_lp = new List <OpenCVForUnity.CoreModule.Point3>(); OpenCVForUnityPlayMakerActionsUtils.ConvertFsmArrayToList <OpenCVForUnityPlayMakerActions.Point3, OpenCVForUnity.CoreModule.Point3>(lp, wrapped_lp); wrapped_owner.fromList(wrapped_lp); OpenCVForUnityPlayMakerActionsUtils.ConvertListToFsmArray <OpenCVForUnity.CoreModule.Point3, OpenCVForUnityPlayMakerActions.Point3>(wrapped_lp, lp); }