Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the width/height/length of a mesh in THREE.js [closed]

People also ask

How do I find my mesh size?

Figuring out the mesh number is simple. All you do is count the number of openings in one linear inch of screen. This count is the mesh number. A 4-mesh screen means there are four little square openings across one inch of screen.

What is widthSegments?

widthSegments — Number of segmented rectangular faces along the width of the sides.


If you're ok with a basic bounding box, you can use a THREE.Box3

var box = new THREE.Box3().setFromObject( colladaModel );
console.log( box.min, box.max, box.getSize() );