Skip to content

ShapeGeometry

new ShapeGeometry(shapes, curveSegments?)

THREE equivalent: THREE.ShapeGeometry

Triangulates 2D shapes into flat geometry on the XY plane using earcut. Supports holes.

Name Type Description
parameters object { shapes, curveSegments } - stored for reference.