Trait bevy_render::mesh::primitives::Meshable
source · pub trait Meshable {
type Output: MeshBuilder;
// Required method
fn mesh(&self) -> Self::Output;
}
Expand description
A trait for shapes that can be turned into a Mesh
.
Required Associated Types§
sourcetype Output: MeshBuilder
type Output: MeshBuilder
The output of Self::mesh
. This will be a MeshBuilder
used for creating a Mesh
.