public PlanetMaterialRule(MyPlanetMaterialPlacementRule def) : base(def) { Height = def.Height; Latitude = def.Latitude; Longitude = def.Longitude; Slope = def.Slope; }
public MyPlanetMaterialPlacementRule(MyPlanetMaterialPlacementRule copyFrom) { // Rule data Height = copyFrom.Height; Latitude = copyFrom.Latitude; Longitude = copyFrom.Longitude; Slope = copyFrom.Slope; // Material data Material = copyFrom.Material; Value = copyFrom.Value; MaxDepth = copyFrom.MaxDepth; Layers = copyFrom.Layers; }