Back to Bevy

PlaneMeshBuilder, allow for different number of subdivisions in X and Z directions

_release-content/migration-guides/plane3d_subdivisions_xz.md

0.19.0272 B
Original Source

It is now possible to assign a different number of subdivisions on the X and Z axis.

The subdivisions field of PlaneMeshBuilder has been split into subdivisions_x and subdivisions_z.

rust
// 0.18:
builder.subdivisions = 4

// 0.19:
builder.subdivisions(4)