#region using System.ComponentModel.DataAnnotations; using Newtonsoft.Json; #endregion namespace NewHorizons.External.Modules.VariableSize { [JsonObject] public class RingModule : VariableSizeModule { /// /// Fluid type for sounds/effects when colliding with this ring. /// public CloudFluidType? fluidType = CloudFluidType.None; /// /// Angle between the rings and the equatorial plane of the planet. /// public float inclination; /// /// Inner radius of the disk /// [Range(0, double.MaxValue)] public float innerRadius; /// /// Angle defining the point where the rings rise up from the planet's equatorial plane if inclination is nonzero. /// public float longitudeOfAscendingNode; /// /// Outer radius of the disk /// [Range(0, double.MaxValue)] public float outerRadius; /// /// Allows the rings to rotate. /// public float rotationSpeed; /// /// Relative filepath to the texture used for the rings. /// public string texture; /// /// Should this ring be unlit? /// public bool unlit; } }