API Reference > Classes > PRC Graphical Classes > OdPrcMaterialGeneric Class > OdPrcMaterialGeneric Methods > setAmbient Method > OdPrcMaterialGeneric::setAmbient Method (OdPrcColorIndex)
OdPrcMaterialGeneric::setAmbient Method (OdPrcColorIndex)
Syntax
C++
Parameters 
Description 
OdPrcColorIndex ambient = OdPrcColorIndex::kUninit 
[in] A new value of the ambient index to be set. 

Sets a new value of the ambient index value. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.