API Reference > OdDb Classes > OdDbMentalRayRenderSettings Class > OdDbMentalRayRenderSettings Methods > OdDbMentalRayRenderSettings::setEnergyMultiplier Method
OdDbMentalRayRenderSettings::setEnergyMultiplier Method
Syntax
C++
OdResult setEnergyMultiplier(float energyMultiplier);
Parameters 
Description 
float energyMultiplier 
[in] Energy multiplier. 

Returns eOk if successful, or an appropriate error code if not. remark The default value for EnergyMultiplier is 1.0. 

EnergyMultiplier serves as a volume control for the photon emmision of every light.

Sets the magnitude of indirect illumination for this MentalRayRenderSettings object.

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