pub type Visual<'a> = Entity<'a>;Aliased Type§
pub enum Visual<'a> {
Sphere {
radius: f64,
},
Box {
half_extents: [f64; 3],
},
Capsule {
radius: f64,
height: f64,
},
Cylinder {
radius: f64,
height: f64,
},
Plane {
normal: [f64; 3],
constant: f64,
},
MeshFile {
file: &'a str,
scale: [f64; 3],
},
ConvexMesh {
vertices: &'a [[f64; 3]],
scale: [f64; 3],
},
Mesh {
vertices: &'a [[f64; 3]],
indices: &'a [i32],
scale: [f64; 3],
},
}