2020-08-29 22:44:32 +08:00
|
|
|
using System;
|
2021-11-23 13:20:07 +08:00
|
|
|
using UnityEngine;
|
2020-08-29 22:44:32 +08:00
|
|
|
|
2022-02-19 22:37:57 +08:00
|
|
|
namespace XCharts.Runtime
|
2020-08-29 22:44:32 +08:00
|
|
|
{
|
2021-11-23 13:20:07 +08:00
|
|
|
public class PolarCoordContext : MainComponentContext
|
2020-08-29 22:44:32 +08:00
|
|
|
{
|
|
|
|
|
/// <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>
|
2022-04-13 13:26:46 +08:00
|
|
|
public Vector3 center;
|
2022-09-14 07:13:45 +08:00
|
|
|
public float radius;
|
2021-11-23 13:20:07 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// the true radius of polar.
|
2022-09-14 07:13:45 +08:00
|
|
|
/// |极坐标的运行时实际内半径。
|
2020-08-29 22:44:32 +08:00
|
|
|
/// </summary>
|
2022-09-14 07:13:45 +08:00
|
|
|
public float insideRadius;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// the true radius of polar.
|
|
|
|
|
/// |极坐标的运行时实际外半径。
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float outsideRadius;
|
2022-04-13 13:26:46 +08:00
|
|
|
public bool isPointerEnter;
|
2020-08-29 22:44:32 +08:00
|
|
|
}
|
|
|
|
|
}
|