API Reference > Classes > PRC Graphical Classes > OdPrcMaterialGeneric Class
OdPrcMaterialGeneric Class
OdPrcMaterialGenericOdPrcMaterialGenericOdPrcMaterialGenericOdPrcMaterialGeneric
Syntax
C++
class OdPrcMaterialGeneric : public OdPrcMaterial;

PrcMaterialGeneric.h

 

Class stores generic data of materials.

Returns the current value of the ambient index. 
Returns the current Alpha ambient value. 
Returns the current diffuse index value. 
Returns the current Alpha diffuse value. 
Returns the current emissive index value. 
Returns the current Alpha emissive value. 
Returns ambient color. Will throw an exception in case of uninitialized object. 
Returns diffuse color. Will throw an exception in case of uninitialized object. 
Returns emissive color. Will throw an exception in case of uninitialized object. 
Returns the specular color. Will throw an exception in case of uninitialized object. 
Retrieves the current true color of the material object.  
This is the overview for the setAmbient method overload. 
Sets a new Alpha ambient value.
 
This is the overview for the setDiffuse method overload. 
Sets a new Alpha diffuse value.
 
This is the overview for the setEmissive method overload. 
Sets a new Alpha emissive value.
 
Sets a new shininess value.
 
This is the overview for the setSpecular method overload. 
Sets a new Alpha specular value.
 
Returns the current shininess value. 
Returns the current specular index value. 
Returns the current Alpha specular value. 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.