createCircle method

MeshGeometry createCircle(
  1. double radius, {
  2. GeometryGeneratorFlags? flags,
  3. List<GeometryFilter>? filters,
  4. int segments = 64,
  5. double thetaStart = 0.0,
  6. double thetaLength = math.pi * 2.0,
})

Implementation

MeshGeometry createCircle(double radius,
    {GeometryGeneratorFlags? flags,
    List<GeometryFilter>? filters,
    int segments = 64,
    double thetaStart = 0.0,
    double thetaLength = math.pi * 2.0}) {
  _radius = radius;
  _segments = segments;
  _thetaStart = thetaStart;
  _thetaLength = thetaLength;
  return createGeometry(flags: flags, filters: filters);
}