API Reference > OdDb Classes > OdDbMentalRayRenderSettings Class > OdDbMentalRayRenderSettings Methods > OdDbMentalRayRenderSettings::setGISampleRadius Method
OdDbMentalRayRenderSettings::setGISampleRadius Method
Syntax
C++
OdResult setGISampleRadius(double radius);
Parameters 
Description 
double radius 
[in] Sample radius. 

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

Sets the radius for computing the photon count for global illumination for this MentalRayRenderSettings object. 

 

The default value for GISampleRadius == 1.0.

setGISampleCount setGISampleRadiusEnabled

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