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

Switches the sun light to the on or off. 

 

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