mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
30 lines
810 B
C#
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;
|
|
}
|
|
}
|