API Reference > Classes > PRC Graphical Classes > OdPrcContentPointLight Class > OdPrcContentPointLight Methods > OdPrcContentPointLight::setConstantAttenuation Method
OdPrcContentPointLight::setConstantAttenuation Method
Syntax
C++
void setConstantAttenuation(double constant_attenuation);
Parameters 
Description 
double constant_attenuation 
[in] A new value in the range [0.0, 1.0] to be set. 

Sets a new value of the constant light attenuation factor. 

 

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