bevy_render::mesh::primitives

Trait MeshBuilder

Source
pub trait MeshBuilder {
    // Required method
    fn build(&self) -> Mesh;
}
Expand description

A trait used to build Meshes from a configuration

Required Methods§

Source

fn build(&self) -> Mesh

Builds a Mesh based on the configuration in self.

Implementors§