public LODEntry(int APIversion, EventHandler handler, GenericRCOLResource.ChunkReference modelLodIndex, LODInfoFlags flags, LODId id, float minZValue, float maxZValue) : base(APIversion, handler) { mModelLodIndex = new GenericRCOLResource.ChunkReference(requestedApiVersion, handler, modelLodIndex); mFlags = flags; mId = id; mMinZValue = minZValue; mMaxZValue = maxZValue; }
private void Parse(Stream s) { BinaryReader br = new BinaryReader(s); mModelLodIndex = new GenericRCOLResource.ChunkReference(requestedApiVersion, handler, s); mFlags = (LODInfoFlags)br.ReadUInt32(); mId = (LODId)br.ReadUInt32(); mMinZValue = br.ReadSingle(); mMaxZValue = br.ReadSingle(); }