Visualizes an object's vertex normals.
Requires that normals have been specified in the geometry as a buffer attribute or have been calculated using BufferGeometry#computeVertexNormals.
Attributes
- Example
-
val geometry = new BoxGeometry(10, 10, 10, 2, 2, 2) val material = new MeshStandardMaterial() val mesh = new Mesh(geometry, material) scene.add(mesh) val helper = new VertexNormalsHelper(mesh, 1, 0xff0000) scene.add(helper) - Companion
- object
- Graph
-
- Supertypes
-
class LineSegmentsclass Lineclass Object3Dclass Objecttrait Anyclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
Attributes
Updates the vertex normals preview based on the object's world transform.
Updates the vertex normals preview based on the object's world transform.
Attributes
Inherited methods
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Computes an array of distance values which are necessary for LineDashedMaterial. For each vertex in the geometry, the method calculates the cumulative length from the current point to the very beginning of the line.
Computes an array of distance values which are necessary for LineDashedMaterial. For each vertex in the geometry, the method calculates the cumulative length from the current point to the very beginning of the line.
Attributes
- Inherited from:
- Line
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Updates the morphTargets to have no influence on the object. Resets the morphTargetInfluences and morphTargetDictionary properties.
Updates the morphTargets to have no influence on the object. Resets the morphTargetInfluences and morphTargetDictionary properties.
Attributes
- Inherited from:
- Line
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object3D
Concrete fields
The type property of the helper.
The type property of the helper.
Attributes
This flag can be used for type testing.
This flag can be used for type testing.
Attributes
The object for which to visualize vertex normals.
The object for which to visualize vertex normals.
Attributes
The helper's size.
The helper's size.
Attributes
Inherited fields
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Line
This flag can be used for type testing.
This flag can be used for type testing.
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
A dictionary of morphTargets based on the morphTarget.name property.
A dictionary of morphTargets based on the morphTarget.name property.
Attributes
- Inherited from:
- Line
An array of weights typically from 0-1 that specify how much of the morph is applied.
An array of weights typically from 0-1 that specify how much of the morph is applied.
Attributes
- Inherited from:
- Line
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D
Attributes
- Inherited from:
- Object3D