solidParts property

  1. @override
List<SolidPart> get solidParts
override

The shape as convex parts whose union it is, in its entity's own space (before the entity's scale). Empty for none.

Implementation

@override
List<SolidPart> get solidParts => [
  SolidCylinder(Primitive3D.size(height) / 2, Primitive3D.size(radius)),
];