mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-18 14:30:10 +00:00
27 lines
835 B
C#
27 lines
835 B
C#
|
|
using UnityEngine;
|
|
|
|
namespace XCharts
|
|
{
|
|
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; }
|
|
}
|
|
} |