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();
        }
Beispiel #2
0
        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();
        }
Beispiel #3
0
 public TickMeter(OpenCVForUnity.CoreModule.TickMeter nativeObj) : base(nativeObj)
 {
 }