new-horizons/NewHorizons/External/Props/GeneralPointPropInfo.cs

30 lines
810 B
C#

using NewHorizons.Utility;
using Newtonsoft.Json;
namespace NewHorizons.External.Props
{
[JsonObject]
public abstract class GeneralPointPropInfo
{
/// <summary>
/// Position of the object
/// </summary>
public MVector3 position;
/// <summary>
/// The relative path from the planet to the parent of this object. Optional (will default to the root sector).
/// </summary>
public string parentPath;
/// <summary>
/// Whether the positional and rotational coordinates are relative to parent instead of the root planet object.
/// </summary>
public bool isRelativeToParent;
/// <summary>
/// An optional rename of this object
/// </summary>
public string rename;
}
}