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

            storeResult.Value = (float)wrapped_owner.getScaleFactor();
        }