MAXScript Language Reference > 3ds Max Objects > RenderElements : MAXWrapper >

# Material_ID : RenderElement

    Material_ID - superclass: RenderElement; super-superclass:MAXWrapper - 4:0 - classID: #(20, 0)

Value > MAXObject > (RenderElements) > Material_ID

| Render and Bake Elements - Quick Navigation

The Material_ID RenderElement outputs the material IDs assigned to objects via the Material Effects channel in the Material Editor.Available in 3ds Max 8 and higher.

Constructor

    Material_OD... materialIDRenderElement...

Properties

    <Material_ID>.bitmap UndefinedClass default: undefined -- bitmap;

Gets the bitmap the RenderElement writes to.

    <Material_ID>.elementName String default: "Material ID" -- string

Gets/Sets the name of the RenderElement.

    <Material_ID>.enabled BooleanClass default: true -- boolean

Enables/Disables the RenderElement.

    <Material_ID>.filterOn BooleanClass default: false -- boolean; FilteringOn

Enables/Disables filtering for the RenderElement.

#### See Also

- RenderElements