ShapeGeometry constructor
shapes
— List of shapes or a single shape. Default is
a single triangle shape.
curveSegments
- int - Number of segments per shape. Default is
12.
Implementation
ShapeGeometry(this.shapes, {int curveSegments = 12}) : super() {
type = 'ShapeGeometry';
parameters = {};
this.curveSegments = curveSegments;
init();
}