ShapeGeometry constructor

ShapeGeometry(
  1. List<Shape> shapes, {
  2. int curveSegments = 12,
})

shapesList 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();
}