createRing method

MeshGeometry createRing(
  1. double innerRadius,
  2. double outerRadius, {
  3. GeometryGeneratorFlags? flags,
  4. List<GeometryFilter>? filters,
  5. int segments = 64,
  6. double thetaStart = 0.0,
  7. double thetaLength = math.pi * 2.0,
  8. bool stripTextureCoordinates = true,
})

Implementation

MeshGeometry createRing(double innerRadius, double outerRadius,
    {GeometryGeneratorFlags? flags,
    List<GeometryFilter>? filters,
    int segments = 64,
    double thetaStart = 0.0,
    double thetaLength = math.pi * 2.0,
    bool stripTextureCoordinates = true}) {
  _innerRadius = innerRadius;
  _outerRadius = outerRadius;
  _segments = segments;
  _thetaStart = thetaStart;
  _thetaLength = thetaLength;
  _stripTextureCoordinates = stripTextureCoordinates;
  return createGeometry(flags: flags, filters: filters);
}