API Reference > OdDb Classes > OdDbLight Class > OdDbLight Methods > OdDbLight::setOn Method
OdDbLight::setOn Method
Syntax
C++
void setOn(bool value);
Parameters 
Description 
bool value 
[in] Flag that turns this light on or off. 

Switches this light on or off. 

 

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