API Reference > OdDb Classes > OdDbRenderSettings Class > OdDbRenderSettings Methods > OdDbRenderSettings::materialsEnabled Method
OdDbRenderSettings::materialsEnabled Method
Syntax
C++
bool materialsEnabled() const;

Returns true if and only if materials are rendered on a per-object basis for this RenderSettings object.

If true, materials are rendered on a per-object basis. If false, all objects are rendered with the global material. 

The default value for MaterialsEnabled == true.

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