API Reference > OdExport Classes > TD_COLLADA_EXPORT Namespace > Classes > ColladaDistantLightTraits Class > ColladaDistantLightTraits Methods > ColladaDistantLightTraits::setOn Method
ColladaDistantLightTraits::setOn Method
Syntax
C++
virtual void setOn(bool on);
Parameters 
Description 
bool on 
[in] The distant light switch value. 

Switches the distant light to the on or off. 

 

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