跳转到内容

mergeMeshes

此内容尚不支持你的语言。

mergeMeshes(parts): MeshData

Defined in: render/staticBatch.ts:122

Concatenates parts into one mesh in world space.

Every part must carry the same vertex layout (the planner groups by it); positions and tangents go through the world matrix, normals through its inverse transpose. A mirrored part (negative determinant) has its winding reversed and its tangent handedness flipped, so it still faces the way it did.

readonly BatchPart[]

MeshData