public PrtShape(PrtBinaryReader reader) { this.StartFull = reader.ReadBoolean(); this.EmitAwayFromBias = reader.ReadBoolean(); this.UseSpreader = reader.ReadBoolean(); reader.ReadByte(); this.ShapeType = (PrtShapeType)reader.ReadInt32(); this.OuterXRadius = reader.ReadSingle(); this.InnerXRadius = reader.ReadSingle(); this.OuterYRadius = reader.ReadSingle(); this.InnerYRadius = reader.ReadSingle(); this.OuterZRadius = reader.ReadSingle(); this.InnerZRadius = reader.ReadSingle(); this.CenterHeight = reader.ReadSingle(); this.OffAxis = reader.ReadSingle(); this.OffAxisSpread = reader.ReadSingle(); this.OffPlane = reader.ReadSingle(); this.OffPlaneSpread = reader.ReadSingle(); this.BiasPointHeight = reader.ReadSingle(); }