public GrassData(string Tag = null) : base(Tag) { Density = new Byte(); MinSlope = new Byte(); MaxSlope = new Byte(); Unused1 = new Byte(); UnitFromWaterAmount = new UInt16(); Unused2 = new byte[2]; UnitFromWaterType = new UnitFromWaterType(); PositionRange = new Single(); HeightRange = new Single(); ColorRange = new Single(); WavePeriod = new Single(); Flags = new GrassFlags(); Unused3 = new byte[3]; }
public GrassData(Byte Density, Byte MinSlope, Byte MaxSlope, Byte Unused1, UInt16 UnitFromWaterAmount, Byte[] Unused2, UnitFromWaterType UnitFromWaterType, Single PositionRange, Single HeightRange, Single ColorRange, Single WavePeriod, GrassFlags Flags, Byte[] Unused3) { this.Density = Density; this.MinSlope = MinSlope; this.MaxSlope = MaxSlope; this.Unused1 = Unused1; this.UnitFromWaterAmount = UnitFromWaterAmount; this.Unused2 = Unused2; this.UnitFromWaterType = UnitFromWaterType; this.PositionRange = PositionRange; this.HeightRange = HeightRange; this.ColorRange = ColorRange; this.WavePeriod = WavePeriod; this.Flags = Flags; this.Unused3 = Unused3; }