Files
XCharts/Runtime/Coord/Polar/PolarCoordContext.cs

26 lines
728 B
C#
Raw Normal View History

using System;
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 PolarCoordContext : MainComponentContext
{
/// <summary>
2021-11-23 13:20:07 +08:00
/// the center position of polar in container.
2022-03-24 08:37:06 +08:00
/// |极坐标在容器中的具体中心点。
2021-11-23 13:20:07 +08:00
/// </summary>
public Vector3 center;
public float radius;
2021-11-23 13:20:07 +08:00
/// <summary>
/// the true radius of polar.
/// |极坐标的运行时实际内半径。
/// </summary>
public float insideRadius;
/// <summary>
/// the true radius of polar.
/// |极坐标的运行时实际外半径。
/// </summary>
public float outsideRadius;
public bool isPointerEnter;
}
}