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 => [
  SolidBox(
    Primitive3D.size(width) / 2,
    Primitive3D.size(height) / 2,
    Primitive3D.size(depth) / 2,
  ),
];