API Reference > OdDb Classes > OdDbMentalRayRenderSettings Class > OdDbMentalRayRenderSettings Methods > OdDbMentalRayRenderSettings::photonTraceDepth Method
OdDbMentalRayRenderSettings::photonTraceDepth Method
Syntax
C++
void photonTraceDepth(int& reflection, int& refraction, int& sum) const;
Parameters 
Description 
int& reflection 
[out] Receives the maximum number of photon reflections.  
int& refraction 
[out] Receives the maximum number of photon refractions.  
int& sum 
[out] Receives the maximum number of photon reflections and refractions. 

Returns the maximum photon trace depths for this MentalRayRenderSettings object. 

 

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