大约有 5 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0024 秒)
...对应的顶点通道。 描述 通道 顶点在模型空间下的位置 VertexMesh.MESH_POSITION0 顶点在模型空间下的法向量 VertexMesh.MESH_NORMAL0 模型空间的切向量 VertexMesh.MESH_TANGENT0 第一个uv坐标 VertexMesh.MESH_TEXTURECOORDINATE0 第二个uv坐标 VertexMesh.MESH_TEX...
来源: Laya3.0_文档 发布时间: 20251010
...; 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