API Reference > OdDb Classes > OdDbRenderSettings Class > OdDbRenderSettings Methods > OdDbRenderSettings::setShadowsEnabled Method
OdDbRenderSettings::setShadowsEnabled Method
Syntax
C++
void setShadowsEnabled(bool shadowsEnabled);
Parameters 
Description 
bool shadowsEnabled 
[in] Controls ShadowsEnabled. 

Controls the casting of shadows for this RenderSettings object.

Shadows are cast if and only if ShadowsEnabled == true; 

The default value for ShadowsEnabled == true;

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