Lines Matching full:mesh
40 import com.jme3.scene.Mesh;
80 * <p>The TextureAtlas also allows you to change the texture coordinates of a mesh or geometry
421 * Applies the texture coordinates to the given output mesh
425 * @param outMesh The mesh to set the coords in (can be same as input).
428 public boolean applyCoords(Geometry geom, int offset, Mesh outMesh) {
429 Mesh inMesh = geom.getMesh();
436 throw new IllegalStateException("Geometry mesh has no texture coordinate buffer.");
494 Mesh mesh = new Mesh();
495 GeometryBatchFactory.mergeGeometries(geometries, mesh);
496 applyAtlasCoords(geometries, mesh, atlas);
497 mesh.updateCounts();
498 mesh.updateBound();
499 geom.setMesh(mesh);
521 private static void applyAtlasCoords(List<Geometry> geometries, Mesh outMesh, TextureAtlas atlas) {
525 Mesh inMesh = geom.getMesh();