/// <summary> /// Reads the data-block from a stream. /// </summary> public override void Read(ResourceDataReader reader, params object[] parameters) { // read structure data this.Unknown_0h = reader.ReadVector4(); this.Unknown_10h = reader.ReadVector4(); this.Unknown_20h = reader.ReadVector4(); this.Unknown_30h = reader.ReadVector2(); this.Unknown_38h = reader.ReadVector2(); this.VertexDeclaration = reader.ReadBlock <VertexDeclaration>(); this.Unknown_50h = reader.ReadSingle(); this.Unknown_54h = reader.ReadUInt16(); this.Unknown_56h = reader.ReadUInt16(); this.Unknown_58h = reader.ReadVector2(); this.Unknown_60h = reader.ReadVector4(); }
/// <summary> /// Reads the data-block from a stream. /// </summary> public override void Read(ResourceDataReader reader, params object[] parameters) { base.Read(reader, parameters); // read structure data this.Unknown_20h = reader.ReadVector4(); this.Unknown_30h = reader.ReadVector4(); this.Unknown_40h = reader.ReadVector4(); this.Unknown_50h = reader.ReadVector4(); this.Unknown_60h = reader.ReadVector4(); this.Unknown_70h = reader.ReadVector4(); this.Unknown_80h = reader.ReadVector4(); this.Unknown_90h = reader.ReadVector4(); this.Unknown_A0h = reader.ReadVector2(); this.Unknown_A8h = reader.ReadVector2(); }