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

Switches the spot light to the on or off. 

 

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