— 3D curve to extrude along
— subdivisions of the shape cross-section
— subdivisions along the path
— whether the path forms a closed loop
— scale applied to the shape cross-section
— 'shape' or 'path', controls triangle orientation for optimal rendering
Split the geometry into material groups at the given normalized positions. Useful for multi-material tubes (e.g., road with different lane colors).
Array of normalized positions (0-1) along the primary axis where splits occur
Number of groups created
Convert the buffer geometry to three.js JSON Object/Scene format.
— closed 2D shape for the cross-section