OpenSim.Region.CoreModules.World.Voxels.VoxelModule.LoadFromFile C# (CSharp) Méthode

LoadFromFile() public méthode

Loads a terrain file from disk and installs it in the scene.
public LoadFromFile ( string filename ) : void
filename string Filename to terrain file. Type is determined by extension.
Résultat void
        public void LoadFromFile(string filename)
        {
            m_channel.LoadFromFile(filename);

            //m_log.Error("[TERRAIN]: Unable to load voxelspace, no file loader available for that format.");
            //throw new TerrainException(String.Format("unable to load heightmap from file {0}: no loader available for that format", filename));
        }