API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::setAmbientLightColor Method
OdDbViewport::setAmbientLightColor Method
Syntax
C++
void setAmbientLightColor(const OdCmColor& clr);
Parameters 
Description 
const OdCmColor& clr 
[in] Ambient light color. 

Sets the color of ambient light in this viewport. 

 

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