/// <summary> /// Initializes a new instance of the <see cref="NiParticleBomb" /> class. /// </summary> /// <param name="file">The file.</param> /// <param name="reader">The reader.</param> public NiParticleBomb(NiFile file, BinaryReader reader) : base(file, reader) { this.Decay = reader.ReadSingle(); this.Duration = reader.ReadSingle(); this.DeltaV = reader.ReadSingle(); this.Start = reader.ReadSingle(); this.DecayType = (eDecayType)reader.ReadUInt32(); if (base.Version >= eNifVersion.VER_4_1_0_12) { this.SymmetryType = (eSymmetryType)reader.ReadUInt32(); } this.Position = reader.ReadVector3(); this.Direction = reader.ReadVector3(); }