Beispiel #1
0
 public virtual void SetModel(M3D.Graphics.Ext3D.ModelRendering.Model model)
 {
     modelData    = model.modelData;
     geometryData = model.geometryData;
     fileName     = model.fileName;
     zipFileName  = model.zipFileName;
 }
Beispiel #2
0
        public M3D.Graphics.Ext3D.ModelRendering.Model LoadModel(string filename)
        {
            M3D.Graphics.Ext3D.ModelRendering.Model model = ModelLoadingManager.LoadModelFromFile(filename);
            if (model != null)
            {
                return(model);
            }

            throw new FileLoadException();
        }