BufferGeometryUtils

A class containing utility functions for BufferGeometry instances.

Methods

.computeTangents (geometry : BufferGeometry) : null

geometry -- A BufferGeometry instance, which must have index, position, normal, and uv attributes.

Calculates and adds tangent attribute to a geometry.

.mergeBufferGeometries (geometries : Array) : BufferGeometry

geometries -- Array of BufferGeometry instances.

Merges a set of geometries into a single instance. All geometries must have compatible attributes. If merge does not succeed, the method returns null.

.mergeBufferAttributes (attributes : Array) : BufferAttribute

attributes -- Array of BufferAttribute instances.

Merges a set of attributes into a single instance. All attributes must have compatible properties and types, and InterleavedBufferAttributes are not supported. If merge does not succeed, the method returns null.

Source

For more info on how to obtain the source code of this module see this page.