Close
Relief for ODA Team in Ukraine
Learn more
ODA PRC SDK
API Reference
>
Classes
>
OdPrcMaterialGeneric Class
>
OdPrcMaterialGeneric Methods
>
setEmissive Method
>
OdPrcMaterialGeneric::setEmissive Method (double, double, double, bool)
OdPrcMaterialGeneric::setEmissive Method (double, double, double, bool)
Syntax
C++
void
setEmissive
(
double
r
,
double
g
,
double
b
,
bool
preventDuplication
=
false
);
Description
Sets a new emissive color. Object must be database resident.
Parameters
Parameters
Description
r
[in] A new red component value to be set. 0-1 range.
g
[in] A new green component value to be set. 0-1 range.
b
[in] A new blue component value to be set. 0-1 range.
preventDuplication
[in] Add new color to the end of color array or search the array to prevent duplication.
Links
OdPrcMaterialGeneric Class
Was this documentation helpful?
We are sorry. Please tell us what we can improve.
*
Great! Please provide additional feedback.
(Optional)
Thank you for your feedback!
Please wait...
Something went wrong!