Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbMentalRayRenderSettings::setRayTraceDepth Method
Syntax
C++
OdResult setRayTraceDepth(int reflection, int refraction, int sum);

Sets the maximum ray trace depths for this MentalRayRenderSettings object. 

 

Parameters
Description
reflection
[in] Maximum number of ray reflections.
refraction
[in] Maximum number of ray refractions.
sum
[in] Maximum number of ray reflections and refractions.

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

The defaults are as follows: 

 

Argument
Default
reflection
2
refraction
2
sum
4
Copyright © 2002-2022. Open Design Alliance All rights reserved.