KiCad PCB EDA Suite
|
Public Member Functions | |
MATERIAL (const SMATERIAL &aOther) | |
bool | IsTransparent () const |
Public Attributes | |
unsigned int | m_render_idx_buffer_offset = 0 |
unsigned int | m_render_idx_count = 0 |
BBOX_3D | m_bbox |
bounding box for this material group, used for transparent material ordering | |
SFVEC3F | m_Ambient |
SFVEC3F | m_Diffuse |
Default diffuse color if m_Color is NULL. | |
SFVEC3F | m_Emissive |
SFVEC3F | m_Specular |
float | m_Shininess |
float | m_Transparency |
1.0 is completely transparent, 0.0 completely opaque | |
Definition at line 144 of file 3d_model.h.
|
inline |
Definition at line 151 of file 3d_model.h.
|
inline |
Definition at line 152 of file 3d_model.h.
References SMATERIAL::m_Transparency.
Referenced by MODEL_3D::MODEL_3D().
|
inherited |
Definition at line 39 of file c3dmodel.h.
Referenced by formatMaterial(), RENDER_3D_RAYTRACE_BASE::getModelMaterial(), and OglSetMaterial().
BBOX_3D MODEL_3D::MATERIAL::m_bbox |
bounding box for this material group, used for transparent material ordering
Definition at line 149 of file 3d_model.h.
Referenced by MODEL_3D::MODEL_3D().
|
inherited |
Default diffuse color if m_Color is NULL.
Definition at line 40 of file c3dmodel.h.
Referenced by RENDER_3D_RAYTRACE_BASE::addModels(), formatMaterial(), RENDER_3D_RAYTRACE_BASE::getModelMaterial(), MODEL_3D::MODEL_3D(), and OglSetMaterial().
|
inherited |
Definition at line 41 of file c3dmodel.h.
Referenced by formatMaterial(), RENDER_3D_RAYTRACE_BASE::getModelMaterial(), and OglSetMaterial().
unsigned int MODEL_3D::MATERIAL::m_render_idx_buffer_offset = 0 |
Definition at line 146 of file 3d_model.h.
Referenced by MODEL_3D::MODEL_3D().
unsigned int MODEL_3D::MATERIAL::m_render_idx_count = 0 |
Definition at line 147 of file 3d_model.h.
Referenced by MODEL_3D::MODEL_3D().
|
inherited |
Definition at line 43 of file c3dmodel.h.
Referenced by formatMaterial(), RENDER_3D_RAYTRACE_BASE::getModelMaterial(), and OglSetMaterial().
|
inherited |
Definition at line 42 of file c3dmodel.h.
Referenced by formatMaterial(), RENDER_3D_RAYTRACE_BASE::getModelMaterial(), and OglSetMaterial().
|
inherited |
1.0 is completely transparent, 0.0 completely opaque
Definition at line 44 of file c3dmodel.h.
Referenced by formatMaterial(), RENDER_3D_RAYTRACE_BASE::getModelMaterial(), IsTransparent(), MODEL_3D::MODEL_3D(), and OglSetMaterial().