void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TickMeter)) { LogError("owner is not initialized. Add Action \"newTickMeter\"."); return; } OpenCVForUnity.CoreModule.TickMeter wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TickMeter, OpenCVForUnity.CoreModule.TickMeter>(owner); storeResult.Value = (int)wrapped_owner.getCounter(); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TickMeter)) { LogError("owner is not initialized. Add Action \"newTickMeter\"."); return; } OpenCVForUnity.CoreModule.TickMeter wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TickMeter, OpenCVForUnity.CoreModule.TickMeter>(owner); if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.Double)) { storeResult.Value = new OpenCVForUnityPlayMakerActions.Double(); } ((OpenCVForUnityPlayMakerActions.Double)storeResult.Value).wrappedObject = wrapped_owner.getTimeMicro(); }
public TickMeter(OpenCVForUnity.CoreModule.TickMeter nativeObj) : base(nativeObj) { }