合并代码

This commit is contained in:
MuHua-123
2024-11-15 18:28:21 +08:00
parent 497b43a446
commit 72d1f89b54
274 changed files with 4939 additions and 1968 deletions
+33
View File
@@ -0,0 +1,33 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DataPolygon {
private readonly DataPlate dataPlate;
public DataPolygon(DataPlate dataPlate) => this.dataPlate = dataPlate;
/// <summary> 边缘平滑度 </summary>
public float edgeSmooth => dataPlate.edgeSmooth;
/// <summary> 设计点 </summary>
public List<DataPoint> points => dataPlate.points;
/// <summary> 边缘点 </summary>
public List<Vector3> edgePoints {
get => dataPlate.edgePoints;
set => dataPlate.edgePoints = value;
}
/// <summary> 平面网格 </summary>
public Mesh polygon {
get => dataPlate.polygon;
set => dataPlate.polygon = value;
}
#region
#endregion
#region
/// <summary> 三角形 </summary>
public List<DataTriangle> triangles = new List<DataTriangle>();
#endregion
}