Skip to main content

CsgToMesh

Trait CsgToMesh 

Source
pub trait CsgToMesh: CsgBackend {
    // Required method
    fn to_bevy_mesh(solid: &Self::CsgType) -> Mesh;
}
Expand description

Backend can produce Bevy meshes from its 3D solid type.

Required Methods§

Source

fn to_bevy_mesh(solid: &Self::CsgType) -> Mesh

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§