CuboidGeometry constructor
CuboidGeometry(
- Vector3 extents, {
- bool debugColors = false,
Builds a cuboid sized to extents.
When debugColors is true each corner carries a distinct vertex color.
Implementation
factory CuboidGeometry(Vector3 extents, {bool debugColors = false}) =>
CuboidGeometry._(buildCuboidArrays(extents, debugColors: debugColors));