mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
25 lines
769 B
C#
25 lines
769 B
C#
using Newtonsoft.Json;
|
|
using System.ComponentModel;
|
|
|
|
namespace NewHorizons.External.Modules.Props.Quantum;
|
|
|
|
public class QuantumDetailInfo : DetailInfo
|
|
{
|
|
public QuantumDetailInfo() { }
|
|
|
|
public QuantumDetailInfo(DetailInfo info)
|
|
{
|
|
JsonConvert.PopulateObject(JsonConvert.SerializeObject(info), this);
|
|
}
|
|
|
|
/// <summary>
|
|
/// When used in a quantum socket this object will randomize its rotation around the local Y axis.
|
|
/// </summary>
|
|
[DefaultValue(true)] public bool randomizeYRotation = true;
|
|
|
|
/// <summary>
|
|
/// When used in a quantum socket this object will align to the nearest gravity volume. Else use the rotation of the quantum socket.
|
|
/// </summary>
|
|
[DefaultValue(true)] public bool alignWithGravity = true;
|
|
}
|