/// <summary> /// Loads the model from the specified file. /// </summary> /// <param name="file">File which is to be loaded.</param> public void LoadModel(string file) { mModelNode.DettachAll(); Model model = Root.ContentManager.Load <Model>(file); mModelNode.GenerateFromXNAModel(file, model); }