KiCad PCB EDA Suite
SMATERIAL Struct Reference

#include <c3dmodel.h>

Public Attributes

SFVEC3F m_Ambient
 
SFVEC3F m_Diffuse
 Default diffuse color if m_Color is NULL. More...
 
SFVEC3F m_Emissive
 
SFVEC3F m_Specular
 
float m_Shininess
 
float m_Transparency
 1.0 is completely transparent, 0.0 completely opaque More...
 

Detailed Description

Definition at line 37 of file c3dmodel.h.

Member Data Documentation

SFVEC3F SMATERIAL::m_Ambient
SFVEC3F SMATERIAL::m_Diffuse

Default diffuse color if m_Color is NULL.

Definition at line 40 of file c3dmodel.h.

Referenced by C3D_RENDER_RAYTRACING::add_3D_models(), C_OGL_3DMODEL::C_OGL_3DMODEL(), formatMaterial(), and OGL_SetMaterial().

SFVEC3F SMATERIAL::m_Emissive
float SMATERIAL::m_Shininess
SFVEC3F SMATERIAL::m_Specular
float SMATERIAL::m_Transparency

1.0 is completely transparent, 0.0 completely opaque

Definition at line 44 of file c3dmodel.h.

Referenced by C3D_RENDER_RAYTRACING::add_3D_models(), C_OGL_3DMODEL::C_OGL_3DMODEL(), formatMaterial(), and OGL_SetMaterial().


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