大约有 4 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0019 秒)
...; 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, start: 0 }]); return mesh2D; } ...
来源: Laya3.0_文档 发布时间: 20251120
... = 1; indices[index++] = 2; indices[index++] = 3; const declaration = Laya.VertexMesh2D.getVertexDeclaration(["POSITION,UV"], false)[0]; const mesh2D = Laya.Mesh2D.createMesh2DByPrimitive([vertices], [declaration], indices, Laya.IndexFormat.UInt16, [{ length: indices.length, start: 0 }]); return mes...
来源: Laya3.0_文档 发布时间: 20251010
... 材质在切换到在Instance渲染时,这三个槽位占用了顶点 VertexMesh.MESH_CUSTOME0,VertexMeshMESH_CUSTOME1,VertexMesh.MESH_CUSTOME2。 uniform缓冲区使用时需要注意,在低端手机上过大的数据可能存在uniform超出的风险。 Copyright ©Layabox 2025 all right ...
来源: Laya3.0_文档 发布时间: 20251010
... = 1; indices[index++] = 2; indices[index++] = 3; const declaration = Laya.VertexMesh2D.getVertexDeclaration(["POSITION,UV"], false)[0]; const mesh2D = Laya.Mesh2D.createMesh2DByPrimitive([vertices], [declaration], indices, Laya.IndexFormat.UInt16, [{ length: indices.length, start: 0 }]); return mes...
来源: Laya3.0_文档 发布时间: 20251010