API Reference > OdDb Classes > OdDbMentalRayRenderSettings Class > OdDbMentalRayRenderSettings Methods > OdDbMentalRayRenderSettings::setGIPhotonsPerLight Method
OdDbMentalRayRenderSettings::setGIPhotonsPerLight Method
Syntax
C++
OdResult setGIPhotonsPerLight(int numPhotons);
Parameters 
Description 
int numPhotons 
[in] Number of photons. 

Returns eOk if successful, or an appropriate error code if not.

Sets the average the number of photons shot per light for this MentalRayRenderSettings object.

The default value for GIPhotonsPerLight == 10,000.

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