Type Definition three_d::renderer::object::Model

source · []
pub type Model<M> = Gm<Mesh, M>;
Expand description

A 3D model consisting of a Mesh and any material that implements Material.

Implementations

Creates a new 3D model with a Mesh as geometry and a default ColorMaterial.

Creates a new 3D model with a Mesh as geometry and the given material.