2021-11-23 13:20:07 +08:00
|
|
|
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
2022-02-19 22:37:57 +08:00
|
|
|
namespace XCharts.Runtime
|
2021-11-23 13:20:07 +08:00
|
|
|
{
|
|
|
|
|
public class VesselContext : MainComponentContext
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// the runtime center position of vessel.
|
|
|
|
|
/// 运行时中心点。
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Vector3 center { get; internal set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// the runtime radius of vessel.
|
|
|
|
|
/// 运行时半径。
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float radius { get; internal set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The actual radius after deducting shapeWidth and gap.
|
|
|
|
|
/// 运行时内半径。扣除厚度和间隙后的实际半径。
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float innerRadius { get; internal set; }
|
|
|
|
|
public float width { get; set; }
|
|
|
|
|
public float height { get; set; }
|
|
|
|
|
public bool isPointerEnter { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|