D3DRMMATERIALMODE

typedef enum _D3DRMMATERIALMODE{

D3DRMMATERIAL_FROMMESH,

D3DRMMATERIAL_FROMPARENT,

D3DRMMATERIAL_FROMFRAME

} D3DRMMATERIALMODE;

Describes the type retrieved by the IDirect3DRMFrame::GetMaterialMode method and set by the IDirect3DRMFrame::SetMaterialMode method.

D3DRMMATERIAL_FROMMESH

Material information is retrieved from the visual object (the mesh) itself. This is the default setting.

D3DRMMATERIAL_FROMPARENT

Material information, along with color or texture information, is inherited from the parent frame.

D3DRMMATERIAL_FROMFRAME

Material information is retrieved from the frame, overriding any previous material information that the visual object may have possessed.