API Reference > OdDb Classes > OdDbMaterial Class > OdDbMaterial Methods > OdDbMaterial::specular Method
OdDbMaterial::specular Method
Syntax
C++
virtual void specular(OdGiMaterialColor& specularColor, OdGiMaterialMap& specularMap, double& glossFactor) const;
Parameters 
Description 
OdGiMaterialColor& specularColor 
[out] Receives the specular color.  
OdGiMaterialMap& specularMap 
[out] Receives the specular map.  
double& glossFactor 
[out] Receives the gloss factor. 

Returns the specular (reflection) component of this Material object. 

 

The specular component is viewpoint dependent, and most apparent when the entity is highlighted.

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