ImportFile() 공개 정적인 메소드

public static ImportFile ( string filePath ) : Mesh
filePath string
리턴 UnityEngine.Mesh
예제 #1
0
 public void ScanInternal(string objMeshPath)
 {
     Mesh x = ObjImporter.ImportFile(objMeshPath);
     if (x == null)
     {
         Debug.LogError("Couldn't read .obj file at '" + objMeshPath + "'");
         return;
     }
     this.sourceMesh = x;
     base.ScanInternal();
 }
예제 #2
0
        /** Scans the graph using the path to an .obj mesh */
        public void ScanInternal(string objMeshPath)
        {
            Mesh mesh = ObjImporter.ImportFile(objMeshPath);

            if (mesh == null)
            {
                Debug.LogError("Couldn't read .obj file at '" + objMeshPath + "'");
                return;
            }

            sourceMesh = mesh;
            ScanInternal();
        }
예제 #3
0
        public void ScanInternal(string objMeshPath)
        {
            Mesh x = ObjImporter.ImportFile(objMeshPath);

            if (x == null)
            {
                Debug.LogError("Couldn't read .obj file at '" + objMeshPath + "'");
                return;
            }
            this.sourceMesh = x;
            IEnumerator <Progress> enumerator = this.ScanInternal().GetEnumerator();

            while (enumerator.MoveNext())
            {
            }
        }
        public void ScanInternal(string objMeshPath)
        {
            Mesh mesh = ObjImporter.ImportFile(objMeshPath);

            if (mesh == null)
            {
                Debug.LogError("Couldn't read .obj file at '" + objMeshPath + "'");
                return;
            }

            sourceMesh = mesh;

            var scan = ScanInternal().GetEnumerator();

            while (scan.MoveNext())
            {
            }
        }