/// <summary>
/// 方锥。
/// </summary>
/// <retu rns></returns>
public Mesh CreateSquareDetectionLineCloseMesh(Vector3 topPos, Vector3 pos1, Vector3 pos2, Vector3 pos3, Vector3 pos4)
{
Mesh mesh = new Mesh();
var vertices = new List<Vector3>();
var indices = new List<int>();
vertices.Add(topPos);
vertices.Add(pos1);
vertices.Add(pos2
Unity3D中 使用Mesh绘制方锥形
最新推荐文章于 2023-11-17 18:23:46 发布
