Cargo Features
[dependencies]
bevy_stl = { version = "0.15.0", default-features = false, features = ["wireframe"] }
- default = wireframe
-
The
wireframe
feature is set by default wheneverbevy_stl
is added without
somewhere in the dependency tree.default-features = false - wireframe default
-
Along with the triangle mesh, generate an additional wireframe mesh (a PrimitiveTopology::LineList). The wireframe mesh can be accessed by
asset_server.load("my-model.stl#wireframe")
.