Struct collada::Geometry [-] [+] [src]

pub struct Geometry {
    pub material_name: Option<String>,
    pub smooth_shading_group: usize,
    pub shapes: Vec<Shape>,
}

A set of shapes, all using the given material.

Fields

material_name

A reference to the material to apply to this geometry.

smooth_shading_group

Should we use smooth shading when rendering this?

shapes

The shapes of which this geometry is composed.

Trait Implementations

Derived Implementations

impl Debug for Geometry

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Geometry

fn clone(&self) -> Geometry

fn clone_from(&mut self, source: &Self)