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

# diffuseMap : BakeElement

    diffuseMap - superclass: BakeElement; super-superclass:MAXWrapper - classID: #(65539, 0)

Value > MAXWrapper > BakeElement > diffuseMap

| Render and Bake Elements - Quick Navigation

This BakeElement allows a raw, lit, or lit & shadowed diffuse channel to be baked.

Constructor

    DiffuseMap ...

Properties

    <diffuseMap>.autoSzOn Boolean default: false -- boolean; Auto_Size_On

Enable/Disable AutoSize.

    <diffuseMap>.bitmap Bitmap default: undefined -- bitmap

Get the bake element’s bitmap. This property cannot be set through MAXScript.

    <diffuseMap>.elementName String default: "DiffuseMap" -- string

Get/Set the bake element’s name.

    <diffuseMap>.enabled Boolean default: true -- boolean

Enable/Disable the bake element.

    <diffuseMap>.fileName Filenamedefault: "" -- string;

Get/Set the element’s output file name.

    <diffuseMap>.filenameUnique Boolean default: false -- boolean; Filename_Unique

Enable/Disable unique file name generation.

    <diffuseMap>.fileType Filenamedefault: "" -- string;

Get/Set the bake element’s output file type.

    <diffuseMap>.filterOn Boolean default: true -- boolean; FilteringOn

Enable/Disable filtering.

    <diffuseMap>.lightingOn Boolean default: false -- boolean; Lighting

Enable/Disable baking of lighting.

    <diffuseMap>.outputSzX Integer default: 256 -- integer; output_width

Get/Set the output width.

    <diffuseMap>.outputSzY Integer default: 256 -- integer; output_height

Get/Set the output height.

    <diffuseMap>.shadowsOn Boolean default: false -- boolean; Shadows

Enable/Disable baking of shadows.

    <diffuseMap>.targetMapSlotName String default: ""

Get/Set the name of the map slot where element output will be applied

#### See Also

- Interface: BakeElementProperties

- Interface: INodeBakeProperties

- Bake Elements