Hi ,

Before:

> let bufferGeometry = this.mesh.getObject3d().geometry;

> let geometry = new THREE.Geometry().fromBufferGeometry(bufferGeometry);

> let { vertices, faces, faceVertexUvs } = geometry;

now,use r125, there is any other good way to get ?

Thanks!

Hi!

BufferGeometry has different structure from Geometry.

Vertices: `geometry.attributes.position`

.

Faces: if your geometry has no `index`

, then a face defined by three consequent vertices, otherwise, by three consequent indices of vertices in `index`

.

UVs: `geometry.attributes.uv`

3 Likes