Example #1
0
        //javadoc: DTrees::load(filepath)
        public static DTrees load(string filepath)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            DTrees retVal = DTrees.__fromPtr__(ml_DTrees_load_11(filepath));

            return(retVal);
#else
            return(null);
#endif
        }
Example #2
0
        //
        // C++: static Ptr_DTrees create()
        //

        //javadoc: DTrees::create()
        public static DTrees create()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR) || UNITY_5
            DTrees retVal = new DTrees(ml_DTrees_create_10());

            return(retVal);
#else
            return(null);
#endif
        }
Example #3
0
        //
        // C++: static Ptr_DTrees create()
        //

        //javadoc: DTrees::create()
        public static DTrees create()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            DTrees retVal = DTrees.__fromPtr__(ml_DTrees_create_10());

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