Struct dxf::objects::Material
[−]
[src]
pub struct Material { pub name: String, pub description: String, pub override_ambient_color: bool, pub ambient_color_factor: f64, pub ambient_color_value: i32, pub override_diffuse_color: bool, pub diffuse_color_factor: f64, pub diffuse_color_value: i32, pub diffuse_map_blend_factor: f64, pub use_image_file_for_diffuse_map: bool, pub diffuse_map_file_name: String, pub diffuse_map_projection_method: MapProjectionMethod, pub diffuse_map_tiling_method: MapTilingMethod, pub diffuse_map_auto_transform_method: MapAutoTransformMethod, pub diffuse_map_transformation_matrix: TransformationMatrix, pub specular_gloss_factor: f64, pub override_specular_color: bool, pub specular_color_factor: f64, pub specular_color_value: i32, pub specular_map_blend_factor: f64, pub use_image_file_for_specular_map: bool, pub specular_map_file_name: String, pub specular_map_projection_method: MapProjectionMethod, pub specular_map_tiling_method: MapTilingMethod, pub specular_map_auto_transform_method: MapAutoTransformMethod, pub specular_map_transformation_matrix: TransformationMatrix, pub reflection_map_blend_factor: f64, pub use_image_file_for_reflection_map: bool, pub reflection_map_file_name: String, pub reflection_map_projection_method: MapProjectionMethod, pub reflection_map_tiling_method: MapTilingMethod, pub reflection_map_auto_transform_method: MapAutoTransformMethod, pub reflection_map_transformation_matrix: TransformationMatrix, pub opacity_factor: f64, pub opacity_map_blend_factor: f64, pub use_image_file_for_opacity_map: bool, pub opacity_map_file_name: String, pub opacity_map_projection_method: MapProjectionMethod, pub opacity_map_tiling_method: MapTilingMethod, pub opacity_map_auto_transform_method: MapAutoTransformMethod, pub opacity_map_transformation_matrix: TransformationMatrix, pub bump_map_blend_factor: f64, pub use_image_file_for_bump_map: bool, pub bump_map_file_name: String, pub bump_map_projection_method: MapProjectionMethod, pub bump_map_tiling_method: MapTilingMethod, pub bump_map_auto_transform_method: MapAutoTransformMethod, pub bump_map_transformation_matrix: TransformationMatrix, pub refraction_index: f64, pub refraction_map_blend_factor: f64, pub use_image_file_for_refraction_map: bool, pub refraction_map_file_name: String, pub refraction_map_projection_method: MapProjectionMethod, pub refraction_map_tiling_method: MapTilingMethod, pub refraction_map_auto_transform_method: MapAutoTransformMethod, pub refraction_map_transformation_matrix: TransformationMatrix, pub color_bleed_scale: f64, pub indirect_dump_scale: f64, pub reflectance_scale: f64, pub transmittance_scale: f64, pub is_two_sided: bool, pub luminance: f64, pub luminance_mode: i16, pub normal_map_method: i16, pub normal_map_strength: f64, pub normal_map_blend_factor: f64, pub use_image_file_for_normal_map: bool, pub normal_map_file_name: String, pub normal_map_projection_method: MapProjectionMethod, pub normal_map_tiling_method: MapTilingMethod, pub normal_map_auto_transform_method: MapAutoTransformMethod, pub normal_map_transformation_matrix: TransformationMatrix, pub is_anonymous: bool, pub global_illumination_mode: i16, pub final_gather_mode: i16, pub gen_proc_name: String, pub gen_proc_boolean_value: bool, pub gen_proc_integer_value: i16, pub gen_proc_real_value: f64, pub gen_proc_text_value: String, pub gen_proc_table_end: bool, pub gen_proc_color_index_value: Color, pub gen_proc_color_rgb_value: i32, pub gen_proc_color_name: String, pub map_u_tile: i16, pub map_v_tile: i16, pub translucence: f64, pub self_illumination: i32, pub reflectivity: f64, pub illumination_model: i32, pub channel_flags: i32, // some fields omitted }
Fields
name: String
description: String
override_ambient_color: bool
ambient_color_factor: f64
ambient_color_value: i32
override_diffuse_color: bool
diffuse_color_factor: f64
diffuse_color_value: i32
diffuse_map_blend_factor: f64
use_image_file_for_diffuse_map: bool
diffuse_map_file_name: String
diffuse_map_projection_method: MapProjectionMethod
diffuse_map_tiling_method: MapTilingMethod
diffuse_map_auto_transform_method: MapAutoTransformMethod
diffuse_map_transformation_matrix: TransformationMatrix
specular_gloss_factor: f64
override_specular_color: bool
specular_color_factor: f64
specular_color_value: i32
specular_map_blend_factor: f64
use_image_file_for_specular_map: bool
specular_map_file_name: String
specular_map_projection_method: MapProjectionMethod
specular_map_tiling_method: MapTilingMethod
specular_map_auto_transform_method: MapAutoTransformMethod
specular_map_transformation_matrix: TransformationMatrix
reflection_map_blend_factor: f64
use_image_file_for_reflection_map: bool
reflection_map_file_name: String
reflection_map_projection_method: MapProjectionMethod
reflection_map_tiling_method: MapTilingMethod
reflection_map_auto_transform_method: MapAutoTransformMethod
reflection_map_transformation_matrix: TransformationMatrix
opacity_factor: f64
opacity_map_blend_factor: f64
use_image_file_for_opacity_map: bool
opacity_map_file_name: String
opacity_map_projection_method: MapProjectionMethod
opacity_map_tiling_method: MapTilingMethod
opacity_map_auto_transform_method: MapAutoTransformMethod
opacity_map_transformation_matrix: TransformationMatrix
bump_map_blend_factor: f64
use_image_file_for_bump_map: bool
bump_map_file_name: String
bump_map_projection_method: MapProjectionMethod
bump_map_tiling_method: MapTilingMethod
bump_map_auto_transform_method: MapAutoTransformMethod
bump_map_transformation_matrix: TransformationMatrix
refraction_index: f64
refraction_map_blend_factor: f64
use_image_file_for_refraction_map: bool
refraction_map_file_name: String
refraction_map_projection_method: MapProjectionMethod
refraction_map_tiling_method: MapTilingMethod
refraction_map_auto_transform_method: MapAutoTransformMethod
refraction_map_transformation_matrix: TransformationMatrix
color_bleed_scale: f64
indirect_dump_scale: f64
reflectance_scale: f64
transmittance_scale: f64
is_two_sided: bool
luminance: f64
luminance_mode: i16
normal_map_method: i16
normal_map_strength: f64
normal_map_blend_factor: f64
use_image_file_for_normal_map: bool
normal_map_file_name: String
normal_map_projection_method: MapProjectionMethod
normal_map_tiling_method: MapTilingMethod
normal_map_auto_transform_method: MapAutoTransformMethod
normal_map_transformation_matrix: TransformationMatrix
is_anonymous: bool
global_illumination_mode: i16
final_gather_mode: i16
gen_proc_name: String
gen_proc_boolean_value: bool
gen_proc_integer_value: i16
gen_proc_real_value: f64
gen_proc_text_value: String
gen_proc_table_end: bool
gen_proc_color_index_value: Color
gen_proc_color_rgb_value: i32
gen_proc_color_name: String
map_u_tile: i16
map_v_tile: i16
translucence: f64
self_illumination: i32
reflectivity: f64
illumination_model: i32
channel_flags: i32
Trait Implementations
impl Clone for Material
[src]
fn clone(&self) -> Material
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
impl Debug for Material
[src]
impl PartialEq for Material
[src]
fn eq(&self, __arg_0: &Material) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Material) -> bool
This method tests for !=
.