API Reference > Classes > PRC Graphical Classes > OdPrcContentLight Class > OdPrcContentLight Methods > setEmissive Method > OdPrcContentLight::setEmissive Method (double, double, double, bool)
OdPrcContentLight::setEmissive Method (double, double, double, bool)
Syntax
C++
void setEmissive(double r, double g, double b, bool preventDuplication = false);
Parameters 
Description 
double r 
[in] A new red component value to be set. 0-1 range.  
double g 
[in] A new green component value to be set. 0-1 range.  
double b 
[in] A new blue component value to be set. 0-1 range.  
bool preventDuplication = false 
[in] Add new color to the end of color array or search the array to prevent duplication. 

Sets a new emissive color. Object must be database resident. 

 

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