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: Option<String>

A reference to the material to apply to this geometry.

smooth_shading_group: usize

Should we use smooth shading when rendering this?

shapes: Vec<Shape>

The shapes of which this geometry is composed.

Trait Implementations

impl Debug for Geometry
[src]

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

Formats the value using the given formatter.

impl Clone for Geometry
[src]

fn clone(&self) -> Geometry

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more