mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
39 lines
993 B
C#
39 lines
993 B
C#
#region
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
using NewHorizons.Utility;
|
|
using Newtonsoft.Json;
|
|
|
|
#endregion
|
|
|
|
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;
|
|
}
|
|
} |