File: VertexTangentsHelper.md | Updated: 11/15/2025
Visualizes an object's vertex tangents.
Requires that tangents have been specified in the geometry as a buffer attribute or have been calculated using BufferGeometry#computeTangents.
const helper = new VertexTangentsHelper( mesh, 1, 0xff0000 );
scene.add( helper );
VertexTangentsHelper is an addon, and must be imported explicitly, see Installation#Addons.
import { VertexTangentsHelper } from 'three/addons/helpers/VertexTangentsHelper.js';
Constructs a new vertex tangents helper.
object | The object for which to visualize vertex tangents.
---|---
size | The helper's size. Default is 1.
color | The helper's color. Default is 0xff0000.
Overwritten and set to false since the object's world transformation is encoded in the helper's geometry data.
Default is false.
Overrides: LineSegments#matrixAutoUpdate
The object for which to visualize vertex tangents.
The helper's size.
Default is 1.
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
Updates the vertex normals preview based on the object's world transform.