using NewHorizons.Utility; using Newtonsoft.Json; using System.ComponentModel; namespace NewHorizons.External.Modules.TranslatorText { [JsonObject] public class NomaiTextInfo : GeneralPointPropInfo { /// /// Additional information about each arc in the text /// public NomaiTextArcInfo[] arcInfo; /// /// The normal vector for this object. Used for writing on walls and positioning computers. /// public MVector3 normal; /// /// The euler angle rotation of this object. Not required if setting the normal. Computers and cairns will orient /// themselves to the surface of the planet automatically. /// public MVector3 rotation; /// /// The random seed used to pick what the text arcs will look like. /// public int seed; // For randomizing arcs /// /// The type of object this is. /// [DefaultValue("wall")] public NomaiTextType type = NomaiTextType.Wall; /// /// The location of this object. Arcs will be blue if their locations match the wall, else orange. /// [DefaultValue("unspecified")] public NomaiTextLocation location = NomaiTextLocation.UNSPECIFIED; /// /// The relative path to the xml file for this object. /// public string xmlFile; } }