void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.CharucoBoard)) { LogError("owner is not initialized. Add Action \"newCharucoBoard\"."); return; } OpenCVForUnity.ArucoModule.CharucoBoard wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.CharucoBoard, OpenCVForUnity.ArucoModule.CharucoBoard>(owner); if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.MatOfPoint3f)) { storeResult.Value = new OpenCVForUnityPlayMakerActions.MatOfPoint3f(); } ((OpenCVForUnityPlayMakerActions.MatOfPoint3f)storeResult.Value).wrappedObject = wrapped_owner.get_chessboardCorners(); }