API Reference > OdDb Classes > OdDbMaterial Class > OdDbMaterial Methods > OdDbMaterial::setGlobalIllumination Method
OdDbMaterial::setGlobalIllumination Method
Syntax
C++
virtual void setGlobalIllumination(OdGiMaterialTraits::GlobalIlluminationMode mode);
Parameters 
Description 
OdGiMaterialTraits::GlobalIlluminationMode mode 
[in] Global illumination mode. 

Sets the global illumination mode of this Material object.

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