Exemplo n.º 1
0
        //javadoc: BoostDesc::create()
        public static BoostDesc create()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            BoostDesc retVal = BoostDesc.__fromPtr__(xfeatures2d_BoostDesc_create_11());

            return(retVal);
#else
            return(null);
#endif
        }
Exemplo n.º 2
0
        //
        // C++: static Ptr_BoostDesc create(int desc = BoostDesc::BINBOOST_256, bool use_scale_orientation = true, float scale_factor = 6.25f)
        //

        //javadoc: BoostDesc::create(desc, use_scale_orientation, scale_factor)
        public static BoostDesc create(int desc, bool use_scale_orientation, float scale_factor)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            BoostDesc retVal = BoostDesc.__fromPtr__(xfeatures2d_BoostDesc_create_10(desc, use_scale_orientation, scale_factor));

            return(retVal);
#else
            return(null);
#endif
        }