• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0010 秒)

1. 2D网格渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 100%]

...ts - 1; index[ibIndex + 1] = 0; index[ibIndex + 2] = numSegments; // 顶点声明 var declaration = Laya.VertexMesh2D.getVertexDeclaration(["POSITION,UV"], false)[0]; let mesh2D = Laya.Mesh2D.createMesh2DByPrimitive([vertexs], [declaration], index, Laya.IndexFormat.UInt16, [{ length: index.length, s...

来源: Laya3.0_文档 发布时间: 20251120