#include <opennurbs_mapchan.h>
◆ ON_MaterialRef()
ON_MaterialRef::ON_MaterialRef |
( |
| ) |
|
If m_material_id = ON_MaterialRef::material_from_layer, then the object's layer determine the material. See ON::material_from_layer. static const ON_UUID material_from_layer; ///< TOD0 - remove this If m_material_id = ON_MaterialRef::material_from_layer, then the object's parent determine the material. See ON::material_from_parent. static const ON_UUID material_from_parent; ///< TODO - remove this
◆ Compare()
◆ Default()
void ON_MaterialRef::Default |
( |
| ) |
|
◆ MaterialSource()
◆ Read()
◆ SetMaterialSource()
◆ Write()
◆ m_material_backface_id
ON_UUID ON_MaterialRef::m_material_backface_id |
If nil, then m_material_id is used for front and back faces.
Identifies an ON_Material
◆ m_material_backface_index
int ON_MaterialRef::m_material_backface_index |
RUNTIME material table index for m_material_id. This value is not saved in files. If -1, then it needs to be set.
◆ m_material_id
ON_UUID ON_MaterialRef::m_material_id |
◆ m_material_index
int ON_MaterialRef::m_material_index |
RUNTIME material table index for m_material_id. This value is not saved in files. If -1, then it needs to be set.
◆ m_material_source
unsigned char ON_MaterialRef::m_material_source |
◆ m_plugin_id
ON_UUID ON_MaterialRef::m_plugin_id |
Identifies a rendering plugin.
◆ m_reserved1
unsigned char ON_MaterialRef::m_reserved1 |
◆ m_reserved2
unsigned char ON_MaterialRef::m_reserved2 |
◆ m_reserved3
unsigned char ON_MaterialRef::m_reserved3 |