public RegionObject() { Object = new FormID(); ParentIndex = new UInt16(); Unused = new byte[2]; Density = new Single(); Clustering = new Byte(); MinSlope = new Byte(); MaxSlope = new Byte(); Flags = new RegionObjectFlags(); RadiusWithRespectToParent = new UInt16(); Radius = new UInt16(); Unknown1 = new byte[4]; MaxHeight = new Single(); Sink = new Single(); SinkVariance = new Single(); SizeVariance = new Single(); XAngleVariance = new UInt16(); YAngleVariance = new UInt16(); ZAngleVariance = new UInt16(); Unknown2 = new byte[6]; }
public RegionObject(FormID Object, UInt16 ParentIndex, Byte[] Unused, Single Density, Byte Clustering, Byte MinSlope, Byte MaxSlope, RegionObjectFlags Flags, UInt16 RadiusWithRespectToParent, UInt16 Radius, Byte[] Unknown1, Single MaxHeight, Single Sink, Single SinkVariance, Single SizeVariance, UInt16 XAngleVariance, UInt16 YAngleVariance, UInt16 ZAngleVariance, Byte[] Unknown2) { this.Object = Object; this.ParentIndex = ParentIndex; this.Unused = Unused; this.Density = Density; this.Clustering = Clustering; this.MinSlope = MinSlope; this.MaxSlope = MaxSlope; this.Flags = Flags; this.RadiusWithRespectToParent = RadiusWithRespectToParent; this.Radius = Radius; this.Unknown1 = Unknown1; this.MaxHeight = MaxHeight; this.Sink = Sink; this.SinkVariance = SinkVariance; this.SizeVariance = SizeVariance; this.XAngleVariance = XAngleVariance; this.YAngleVariance = YAngleVariance; this.ZAngleVariance = ZAngleVariance; this.Unknown2 = Unknown2; }