API Reference > OdDb Classes > OdDbMaterial Class > OdDbMaterial Methods > OdDbMaterial::ambient Method
OdDbMaterial::ambient Method
Syntax
C++
virtual void ambient(OdGiMaterialColor& ambientColor) const;
Parameters 
Description 
OdGiMaterialColor& ambientColor 
[out] Receives the ambient color. 

Returns the ambient (shadow) component of this Material object. 

 

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