Capítulo 548 de 859
A modifier for making meshes bend around curves.
This module can only be used with WebGLRenderer. When using WebGPURenderer, import the class from CurveModifierGPU.js.
import { Flow } from 'three/addons/modifiers/CurveModifier.js';
Constructor
| Signature |
|---|
new Flow( mesh : Mesh, numberOfCurves : number ) |
Methods
| Method | Description |
|---|---|
.moveAlongCurve( amount : number ) | Moves the mesh along the curve. |
.updateCurve( index : number, curve : Curve ) | Updates the curve for the given curve index. |