Struct ms3d::Material [] [src]

pub struct Material {
    pub name: String,
    pub ambient: [f32; 4],
    pub diffuse: [f32; 4],
    pub specular: [f32; 4],
    pub emissive: [f32; 4],
    pub shininess: f32,
    pub transparency: f32,
    pub mode: u8,
    pub texture: PathBuf,
    pub alphamap: PathBuf,
}

Fields

Trait Implementations

impl Clone for Material
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Material
[src]

[src]

Formats the value using the given formatter.