public void ReadFromFile(BinaryReader reader) { materialIndex = reader.ReadUInt16(); ushort num = reader.ReadUInt16(); data = new FacesBurst[num]; for (int i = 0; i != num; i++) { data[i] = new FacesBurst(reader); } }
public void ReadFromFile(MemoryStream reader, bool isBigEndian) { materialIndex = reader.ReadUInt16(isBigEndian); ushort num = reader.ReadUInt16(isBigEndian); data = new FacesBurst[num]; for (int i = 0; i != num; i++) { data[i] = new FacesBurst(reader, isBigEndian); } }
public FacesBurst(FacesBurst other) { startIndex = other.startIndex; numFaces = other.numFaces; }