sphere property

Implementation

static ComponentSchema<Sphere3D> get sphere => _schema<Sphere3D>(
  type: 'Sphere3D',
  id: 'sphere_3d_89734a64',
  create: Sphere3D.new,
  name: 'Sphere',
  description: 'A ball.',
  icon: Icons.circle_outlined,
  size: [_size<Sphere3D>('radius', (c) => c.radius, (c, v) => c.radius = v)],
  detail: [
    _count<Sphere3D>(
      'segments',
      (c) => c.segments,
      (c, v) => c.segments = v,
      3,
      128,
    ),
    _count<Sphere3D>('rings', (c) => c.rings, (c, v) => c.rings = v, 2, 64),
    _flag<Sphere3D>('smooth', (c) => c.smooth, (c, v) => c.smooth = v),
  ],
);