Lines Matching refs:mesh
183 const mesh = !existingGraphics constant
188 existingGraphics.mesh,
190 this.lastScene.rectIdToRectGraphics.set(rect.id, {rect, mesh});
219 .map((graphics) => graphics.mesh),
257 const mesh = new THREE.Mesh( constant
263 this.addFillRegionMesh(rect, fillMaterial, mesh);
265 this.addRectBorders(rect, mesh);
267 mesh.position.x = 0;
268 mesh.position.y = 0;
269 mesh.position.z = rect.topLeft.z;
270 mesh.name = rect.id;
271 mesh.applyMatrix4(this.toMatrix4(rect.transform));
272 this.scene.add(mesh);
273 return mesh;
564 mesh: THREE.Mesh,
576 mesh.add(fillMesh);
687 private addRectBorders(newRect: UiRect3D, mesh: THREE.Mesh) {
692 borderMesh = this.makeRectBorders(newRect, mesh.geometry);
695 mesh.add(borderMesh);
720 const mesh = new THREE.Mesh(geometry, material); constant
721 mesh.position.set(
726 mesh.name = label.rectId + Canvas.GRAPHICS_NAMES.circle;
727 return mesh;
882 mesh: THREE.Mesh; property