API Reference > OdDb Classes > OdDbAbstractViewportData Class > OdDbAbstractViewportData Methods > OdDbAbstractViewportData::setBrightness Method
OdDbAbstractViewportData::setBrightness Method
Syntax
C++
virtual void setBrightness(OdRxObject* pViewport, double brightness) const = 0;
Parameters 
Description 
OdRxObject* pViewport 
[in] Input pointer to the viewport object.  
double brightness 
[in] Input brightness value. 

Sets the brightness value to the specified viewport object.

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