Beispiel #1
0
 public void Read(CubReader br)
 {
     MinValue     = br.ReadSingle();
     MaxValue     = br.ReadSingle();
     DefaultValue = br.ReadSingle();
     ID           = br.ReadIdString();
 }
Beispiel #2
0
 public void Read(CubReader br)
 {
     OriginX  = br.ReadSingle();
     OriginY  = br.ReadSingle();
     ScaleX   = br.ReadSingle();
     ScaleY   = br.ReadSingle();
     Rotation = br.ReadSingle();
     if (br.FormatVersion >= 10)
     {
         ReflectX = br.ReadBoolean();
         ReflectY = br.ReadBoolean();
     }
 }