Beispiel #1
0
        //
        // C++: static javaFeatureDetector* create(int detectorType)
        //

        //javadoc: javaFeatureDetector::create(detectorType)
        public static FeatureDetector create(int detectorType)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR) || UNITY_5
            FeatureDetector retVal = new FeatureDetector(features2d_FeatureDetector_create_10(detectorType));

            return(retVal);
#else
            return(null);
#endif
        }
Beispiel #2
0
        //
        // C++: static Ptr_javaFeatureDetector create(int detectorType)
        //

        //javadoc: javaFeatureDetector::create(detectorType)
        //        [Obsolete ("This method is deprecated.")]
        public static FeatureDetector create(int detectorType)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            FeatureDetector retVal = FeatureDetector.__fromPtr__(features2d_FeatureDetector_create_10(detectorType));

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