Example #1
0
 public void Read(AssetReader reader)
 {
     Border.Read(reader);
     Pivot.Read(reader);
     OldSize.Read(reader);
     NewSize.Read(reader);
     AdaptiveTilingThreshold = reader.ReadSingle();
     DrawMode       = reader.ReadInt32();
     AdaptiveTiling = reader.ReadBoolean();
     reader.AlignStream();
 }
 public void Read(AssetStream stream)
 {
     Border.Read(stream);
     Pivot.Read(stream);
     OldSize.Read(stream);
     NewSize.Read(stream);
     AdaptiveTilingThreshold = stream.ReadSingle();
     DrawMode       = stream.ReadInt32();
     AdaptiveTiling = stream.ReadBoolean();
     stream.AlignStream(AlignType.Align4);
 }