KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SMATERIAL Struct Reference

#include <c3dmodel.h>

Inheritance diagram for SMATERIAL:
MODEL_3D::MATERIAL

Public Attributes

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
 

Detailed Description

Definition at line 37 of file c3dmodel.h.

Member Data Documentation

◆ m_Ambient

SFVEC3F SMATERIAL::m_Ambient

◆ m_Diffuse

SFVEC3F SMATERIAL::m_Diffuse

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().

◆ m_Emissive

SFVEC3F SMATERIAL::m_Emissive

◆ m_Shininess

float SMATERIAL::m_Shininess

◆ m_Specular

SFVEC3F SMATERIAL::m_Specular

◆ m_Transparency

float SMATERIAL::m_Transparency

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(), MODEL_3D::MATERIAL::IsTransparent(), MODEL_3D::MODEL_3D(), and OglSetMaterial().


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