createSphere method
MeshGeometry
createSphere(
- num radius, {
- int latSegments = 16,
- int lonSegments = 16,
- GeometryGeneratorFlags? flags,
- List<
GeometryFilter> ? filters,
Implementation
MeshGeometry createSphere(num radius,
{int latSegments = 16,
int lonSegments = 16,
GeometryGeneratorFlags? flags,
List<GeometryFilter>? filters}) {
_radius = radius.toDouble();
_latSegments = latSegments;
_lonSegments = lonSegments;
return createGeometry(flags: flags, filters: filters);
}