public PrtAppearance(PrtBinaryReader reader)
{
this.OrientByMotion = reader.ReadBoolean();
reader.ReadBytes(3);
this.NumFiles = reader.ReadInt32();
this.NumFrames = reader.ReadInt32();
this.FrameWidth = reader.ReadInt32();
this.FrameHeight = reader.ReadInt32();
this.MaterialType = (PrtMaterialType)reader.ReadInt32();
this.Emissive = reader.ReadTexel();
this.Specular = reader.ReadTexel();
this.SpecularExponent = reader.ReadSingle();
this.FramesPerSecond = reader.ReadSingle();
this.AnimationRate = reader.ReadSingle();
this.AnimationRateVar = reader.ReadSingle();
this.AppearanceWeights = new List<float>(this.NumFiles);
this.AppearanceFiles = new List<string>(this.NumFiles);
}