API Reference > OdDb Classes > OdDbAbstractViewportDataForDbViewport Class > OdDbAbstractViewportDataForDbViewport Methods > OdDbAbstractViewportDataForDbViewport::setAmbientLightColor Method
OdDbAbstractViewportDataForDbViewport::setAmbientLightColor Method
Syntax
C++
void setAmbientLightColor(OdRxObject* pViewport, const OdCmColor& color) const;
Parameters 
Description 
OdRxObject* pViewport 
[in] Input pointer to the viewport object.  
const OdCmColor& color 
[in] Input ambient light color. 

Sets the ambient light color to the specified viewport object.

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