API Reference > OdExport Classes > TD_COLLADA_EXPORT Namespace > Classes > ColladaSpotLightTraits Class > ColladaSpotLightTraits Methods > ColladaSpotLightTraits::setHotspotAndFalloff Method
ColladaSpotLightTraits::setHotspotAndFalloff Method
Syntax
C++
virtual bool setHotspotAndFalloff(double hotspot, double falloff);
Parameters 
Description 
double hotspot 
[in] Hotspot cone angle, in radians. Defines the brightest part of the spot light beam.  
double falloff 
[in] Falloff angle, in radians. Defines the full cone of light. 

Sets target location of the spot light. 

 

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