API Reference > OdDb Classes > OdDbAbstractViewportDataForDbViewport Class > OdDbAbstractViewportDataForDbViewport Methods > OdDbAbstractViewportDataForDbViewport::setBrightness Method
OdDbAbstractViewportDataForDbViewport::setBrightness Method
Syntax
C++
void setBrightness(OdRxObject* pViewport, double brightness) const;
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–2021. Open Design Alliance. All rights reserved.