API Reference > OdDg Classes > OdDgMaterialTableRecord Class > OdDgMaterialTableRecord Enumerations > OdDgMaterialTableRecord::SpecularColorType Enumeration
OdDgMaterialTableRecord::SpecularColorType Enumeration
Syntax
C++
enum SpecularColorType { kPlastic = 0, kMetallic = 1, kByElement = 2, kCustom = 3 };

DgMaterialTableRecord.h

Members 
Description 
kPlastic = 0 
Always white 
kMetallic = 1 
Same as diffuse color 
kByElement = 2 
Same as element color 
kCustom = 3 
Custom specular color 

This is record OdDgMaterialTableRecord::SpecularColorType.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.