获取obj模型中的子对象

                //获取边界框
                let _tempGeo = object.geometry;
                _tempGeo.computeBoundingBox();//计算边界,不计算无法获取
                var minVector = _tempGeo.boundingBox.min;
                var maxVector = _tempGeo.boundingBox.max;

猜你喜欢

转载自blog.csdn.net/myfmyfmyfmyf/article/details/105295411