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

Returns the maximum ray trace depths for this MentalRayRenderSettings object. 

 

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