void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.Plot2d)) { LogError("owner is not initialized. Add Action \"newPlot2d\"."); return; } OpenCVForUnity.PlotModule.Plot2d wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Plot2d, OpenCVForUnity.PlotModule.Plot2d>(owner); if (!(_plotResult.Value is OpenCVForUnityPlayMakerActions.Mat)) { LogError("_plotResult is not initialized. Add Action \"newMat\"."); return; } OpenCVForUnity.CoreModule.Mat wrapped__plotResult = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Mat, OpenCVForUnity.CoreModule.Mat>(_plotResult); wrapped_owner.render(wrapped__plotResult); }