Esempio n. 1
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.CalibrateDebevec))
            {
                LogError("owner is not initialized. Add Action \"newCalibrateDebevec\".");
                return;
            }
            OpenCVForUnity.PhotoModule.CalibrateDebevec wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.CalibrateDebevec, OpenCVForUnity.PhotoModule.CalibrateDebevec>(owner);

            wrapped_owner.setRandom(random.Value);
        }
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.CalibrateDebevec))
            {
                LogError("owner is not initialized. Add Action \"newCalibrateDebevec\".");
                return;
            }
            OpenCVForUnity.PhotoModule.CalibrateDebevec wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.CalibrateDebevec, OpenCVForUnity.PhotoModule.CalibrateDebevec>(owner);

            storeResult.Value = wrapped_owner.getRandom();

            Fsm.Event(storeResult.Value ? trueEvent : falseEvent);
        }
Esempio n. 3
0
 public CalibrateDebevec(OpenCVForUnity.PhotoModule.CalibrateDebevec nativeObj) : base(nativeObj)
 {
 }