Blender V5.0
blender::io::obj::MTLMaterial Struct Reference

#include <obj_export_mtl.hh>

Public Member Functions

const MTLTexMaptex_map_of_type (MTLTexMapType key) const
MTLTexMaptex_map_of_type (MTLTexMapType key)

Public Attributes

std::string name
float spec_exponent {-1.0f}
float3 ambient_color {-1.0f}
float3 color {-1.0f}
float3 spec_color {-1.0f}
float3 emission_color {-1.0f}
float ior {-1.0f}
float alpha {-1.0f}
float3 transmit_color {-1.0f}
float roughness {-1.0f}
float metallic {-1.0f}
float sheen {-1.0f}
float cc_thickness {-1.0f}
float cc_roughness {-1.0f}
float aniso {-1.0f}
float aniso_rot {-1.0f}
int illum_mode {-1}
MTLTexMap texture_maps [int(MTLTexMapType::Count)]
float normal_strength {-1.0f}

Detailed Description

Container suited for storing Material data for/from an .MTL file.

Definition at line 51 of file obj_export_mtl.hh.

Member Function Documentation

◆ tex_map_of_type() [1/2]

MTLTexMap & blender::io::obj::MTLMaterial::tex_map_of_type ( MTLTexMapType key)
inline

Definition at line 56 of file obj_export_mtl.hh.

References texture_maps.

◆ tex_map_of_type() [2/2]

const MTLTexMap & blender::io::obj::MTLMaterial::tex_map_of_type ( MTLTexMapType key) const
inline

Member Data Documentation

◆ alpha

◆ ambient_color

◆ aniso

◆ aniso_rot

◆ cc_roughness

◆ cc_thickness

◆ color

◆ emission_color

◆ illum_mode

◆ ior

◆ metallic

◆ name

std::string blender::io::obj::MTLMaterial::name

◆ normal_strength

◆ roughness

◆ sheen

◆ spec_color

◆ spec_exponent

◆ texture_maps

◆ transmit_color


The documentation for this struct was generated from the following file: