JohnCorby 53dd88584b Revert "reformat again"
This reverts commit 93d82358
2022-05-22 18:55:27 -07:00

35 lines
972 B
C#

using System.ComponentModel.DataAnnotations;
using NewHorizons.Utility;
using Newtonsoft.Json;
namespace NewHorizons.External.Modules
{
[JsonObject]
public class HeightMapModule
{
/// <summary>
/// Relative filepath to the texture used for the terrain height.
/// </summary>
public string heightMap;
/// <summary>
/// The highest points on your planet will be at this height.
/// </summary>
[Range(0f, double.MaxValue)] public float maxHeight;
/// <summary>
/// The lowest points on your planet will be at this height.
/// </summary>
[Range(0f, double.MaxValue)] public float minHeight;
/// <summary>
/// The scale of the terrain.
/// </summary>
public MVector3 stretch;
/// <summary>
/// Relative filepath to the texture used for the terrain.
/// </summary>
public string textureMap;
}
}