Ejemplo n.º 1
0
 public CASEntry(int APIversion, EventHandler handler, FacialRegionFlags facialRegion, EntryList geomEntries, EntryList boneEntries,
                 DependentList <TGIBlock> ParentTGIBlocks = null)
     : base(APIversion, handler)
 {
     this._ParentTGIBlocks = ParentTGIBlocks;
     this.facialRegion     = facialRegion;
     this.geomEntries      = new EntryList(handler, geomEntries, _ParentTGIBlocks);
     this.boneEntries      = new EntryList(handler, boneEntries, _ParentTGIBlocks);
 }
Ejemplo n.º 2
0
 void Parse(Stream s)
 {
     ageGender    = new AgeGenderFlags(0, handler, s);
     facialRegion = (FacialRegionFlags) new BinaryReader(s).ReadUInt32();
     lod1         = new LODSection(0, handler, s);
     lod2         = new LODSection(0, handler, s);
     lod3         = new LODSection(0, handler, s);
     lod4         = new LODSection(0, handler, s);
 }
Ejemplo n.º 3
0
 void Parse(Stream s)
 {
     facialRegion = (FacialRegionFlags)(new BinaryReader(s).ReadUInt32());
     geomEntries  = new EntryList(handler, s, _ParentTGIBlocks);
     boneEntries  = new EntryList(handler, s, _ParentTGIBlocks);
 }