API Reference > Classes > PRC Graphical Classes > OdPrcDirectionalLight Class > OdPrcDirectionalLight Methods > OdPrcDirectionalLight::setLightIntensity Method
OdPrcDirectionalLight::setLightIntensity Method
Syntax
C++
void setLightIntensity(double light_intensity);
Parameters 
Description 
double light_intensity 
[in] A new light intensity value to be set. Must be in the range [0.0, 1.0]. 

Sets a new light intensity value of the directional light. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.