createRing method

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 })

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