API Reference > Classes > PRC Graphical Classes > OdPrcMaterialGeneric Class > OdPrcMaterialGeneric Methods > OdPrcMaterialGeneric::getAmbient Method
OdPrcMaterialGeneric::getAmbient Method
Syntax
C++
const OdPrcRgbColor & getAmbient() const;

Returns ambient color. Will throw an exception in case of uninitialized object.

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