using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class DataPlate { #region 核心数据 /// 边缘平滑度 public float edgeSmooth = 0.01f; /// 板片位置(本地坐标系) public Vector3 position; /// 设计点 public List points = new List(); #endregion #region 次要数据 /// 平面网格 public Mesh polygon; /// 边缘点 public List edgePoints = new List(); #endregion #region 可视化数据 /// 可视化对象 public Transform transform; /// 可视化多边形网格 public MeshFilter polygonMeshFilter; /// 可视化边缘线 public LineRenderer edgeLineRenderer; #endregion }