API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::setDefaultLightingOn Method
OdDbViewport::setDefaultLightingOn Method
Syntax
C++
void setDefaultLightingOn(bool on);
Parameters 
Description 
bool on 
[in] Flag that switches on or off default lighting. 

Enables or disables default lighting for this viewport. 

 

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