Example #1
0
 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;
 }
Example #2
0
            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();
            }