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>