API Reference > OdDb Classes > OdDbMentalRayRenderSettings Class > OdDbMentalRayRenderSettings Methods > OdDbMentalRayRenderSettings::setFGRayCount Method
OdDbMentalRayRenderSettings::setFGRayCount Method
Syntax
C++
OdResult setFGRayCount(int fgRayCount);
Parameters 
Description 
int fgRayCount 
[in] Final gathering ray count. 

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

Sets the final gathering ray count for this MentalRayRenderSettings object.

In order to compute indirect illumination of a scent, FGRayCount rays are shot into the scene for each final gathering point. 

The default value for FGRayCount = 1000.

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