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
name: String
ambient: [f32; 4]
diffuse: [f32; 4]
specular: [f32; 4]
emissive: [f32; 4]
shininess: f32
transparency: f32
mode: u8
texture: PathBuf
alphamap: PathBuf
Trait Implementations
impl Clone for Material
[src]
fn clone(&self) -> Material
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more