API Reference > OdDb Classes > OdDbLight Class > OdDbLight Methods > OdDbLight::setHotspotAndFalloff Method
OdDbLight::setHotspotAndFalloff Method
Syntax
C++
void 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. 

Specifies the hotspot and falloff for the cone of the directional light. 

 

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