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

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

 

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