Share

AcDbMaterial

Class Hierarchy

AcRxObject
    AcGiDrawable
        AcDbObject
            AcDbMaterial

C++

class AcDbMaterial : public AcDbObject;

File

dbmaterial.h

Description

The AcDbMaterial class is used to define, store, and display material properties for shaded entities. An AcDbMaterial object consists of a variety of shading components, including diffuse, ambient, specular, reflection, opacity, bump, and refraction. Each component defines a different aspect of shading behavior for an entity.

AcDbMaterial objects are stored in the ACAD_MATERIAL dictionary within the named object dictionary of an AcDbDatabase.

Links

AcDbMaterial Methods

Was this information helpful?