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

# ShadowsMap : BakeElement

    ShadowsMap - superclass: BakeElement; super-superclass:MAXWrapper - classID: #(65541, 0)

Value > MAXWrapper > BakeElement > ShadowsMap

| Render and Bake Elements - Quick Navigation

This BakeElement allows a shadow map to be baked. This is a mono map, with a multiplier value in the rgb channels and the matting version in the alpha channel, as opposed to the lightingMap which is color.

Constructor

    ShadowsMap ...

Properties

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

Enable/Disable AutoSize.

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

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

    <ShadowsMap>.elementName String default: "ShadowsMap" -- string

Get/Set the bake element’s name.

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

Enable/Disable the bake element.

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

Get/Set the element’s output file name.

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

Enable/Disable unique file name generation.

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

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

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

Enable/Disable filtering.

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

Get/Set the output width.

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

Get/Set the output height.

    <ShadowsMap>.targetMapSlotName String default: """" -- string;

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

#### See Also

- Interface: BakeElementProperties

- Interface: INodeBakeProperties

- Bake Elements