/// <summary> /// Reads object data from given BinaryReader. /// </summary> public void Read(BinaryReader br) { Signature = br.ReadUInt32(); if (Signature != HMFSignature) throw new FileLoadException("Bad signature"); Mesh = new HeightMap(br); }
public HMF(HeightMap hm) { Mesh = hm; }