Beispiel #1
0
    /*! This methode is called from LoadFile() and executes the actual loading
     * Runs in own thread
     */
    private void LoadFileWorker(object sender, DoWorkEventArgs e)
    {
        BlenderFile        b             = new BlenderFile(Path);
        List <BlenderMesh> blenderMeshes = new List <BlenderMesh>();

        blenderObjects = b.readObject();
        blenderMeshes  = b.readMesh();
        unityMeshes    = BlenderFile.createSubmeshesForUnity(blenderMeshes);
        return;
    }