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 => [
  SolidHull(
    Float32List.fromList([
      for (final (x, y, z) in _corners) ...[x, y, z],
    ]),
  ),
];