Struct obj::Material [−][src]
pub struct Material { pub name: String, pub ka: Option<[f32; 3]>, pub kd: Option<[f32; 3]>, pub ks: Option<[f32; 3]>, pub ke: Option<[f32; 3]>, pub km: Option<f32>, pub tf: Option<[f32; 3]>, pub ns: Option<f32>, pub ni: Option<f32>, pub tr: Option<f32>, pub d: Option<f32>, pub illum: Option<i32>, pub map_ka: Option<String>, pub map_kd: Option<String>, pub map_ks: Option<String>, pub map_ke: Option<String>, pub map_ns: Option<String>, pub map_d: Option<String>, pub map_bump: Option<String>, pub map_refl: Option<String>, }
Fields
name: String
ka: Option<[f32; 3]>
kd: Option<[f32; 3]>
ks: Option<[f32; 3]>
ke: Option<[f32; 3]>
km: Option<f32>
tf: Option<[f32; 3]>
ns: Option<f32>
ni: Option<f32>
tr: Option<f32>
d: Option<f32>
illum: Option<i32>
map_ka: Option<String>
map_kd: Option<String>
map_ks: Option<String>
map_ke: Option<String>
map_ns: Option<String>
map_d: Option<String>
map_bump: Option<String>
map_refl: Option<String>
Methods
impl Material
[src]
impl Material
Trait Implementations
impl Debug for Material
[src]
impl Debug for Material
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Material
[src]
impl Clone for Material
fn clone(&self) -> Material
[src]
fn clone(&self) -> Material
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> From<Material> for Cow<'a, Material>
[src]
impl<'a> From<Material> for Cow<'a, Material>