MAXScript Language Reference > 3ds Max Objects > Modifier : MAXWrapper and SpacewarpModifier : MAXWrapper > Modifier and SpacewarpModifier Types > Modifiers > UVW Modifiers > Unwrap_UVW : Modifier >

# UnwrapUVW Modifier - Main Toolbar

| Unwrap_UVW Modifier - Main Topic | Modifier Classes - Quick Navigation

The main toolbar of the Edit UVWs Floater exposes the transform tools and the background map controls:

## Move/Rotate/Scale Icons

Methods:

    <void><Unwrap_UVW>.move()

Presses the Move icon in the Edit UVWs floater's main toolbar.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <void><Unwrap_UVW>.moveH()

Presses the Move Horizontal button in the Edit UVWs floater's main toolbar.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <void><Unwrap_UVW>.moveV()

Presses the Move Vertical button in the Edit UVWs floater's main toolbar.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <void><Unwrap_UVW>.rotate()

Presses the Rotate button in the Edit UVWs floater's main toolbar.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <void><Unwrap_UVW>.scale()

Presses the Scale button in the Edit UVWs floater's main toolbar.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <void><Unwrap_UVW>.scaleH()

Presses the Scale Horizontal button in the Edit UVWs floater's main toolbar.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <void><Unwrap_UVW>.scaleV()

Presses the Scale Vertical button in the Edit UVWs floater's main toolbar.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <boolean><Unwrap_UVW>.getFreeFormMode()

Returns true if in FreeForm Mode, false otherwise.

In this mode, you select anywhere inside the bounding rectangle to move the selection. You select the corners to scale the selection, and select the edge centers to rotate the selection. You can also move the center cross which is your rotation pivot point.

Exposed via unwrap2 interface in 3ds Max 5 and higher.

    <void><Unwrap_UVW>.setFreeFormMode <boolean>freeFormMode

Enable / Disable FreeForm Mode.

In this mode, you select anywhere inside the bounding rectangle to move the selection. You select the corners to scale the selection, and select the edge centers to rotate the selection. You can also move the center cross which is your rotation pivot point.

Exposed via unwrap2 interface in 3ds Max 5 and higher.

    <void><Unwrap_UVW>.mirrorH()

Presses the Mirror Horizontal button in the edit floater.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <void><Unwrap_UVW>.mirrorV()

Presses the Mirror Vertical button in the edit floater.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <void><Unwrap_UVW>.flipHorizontal()

This presses the Flip Horizontal button in the edit floater dialog.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <void><Unwrap_UVW>.flipVertical()

This presses the Flip Vertical button in the edit floater dialog.

Exposed via unwrap interface in 3ds Max 4 and higher.

## Texture Map Display

Methods:

    <void><Unwrap_UVW>.updateMap()

Presses the Update Map button in the edit floater.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <void><Unwrap_UVW>.displayMap <boolean>displayMap

Toggles the Display Map button in the edit floater.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <boolean><Unwrap_UVW>.isMapDisplayed()

Returns the state of the Display Map button.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <boolean><Unwrap_UVW>.getShowMap()

Returns the Show Map button state.

Exposed via unwrap2 interface in 3ds Max 5 and higher.

    <void><Unwrap_UVW>.setShowMap <boolean>showMap

Sets the Show Map button state.

Same functionality as .displayMap() method.

Exposed via unwrap2 interface in 3ds Max 5 and higher.

    <integer><Unwrap_UVW>.getCurrentMap()

Returns the index into the map drop down list of the current map in the view of the edit floater.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <void><Unwrap_UVW>.SetCurrentMap <integer>map

Changes the currently displayed map to the index provided, where map is the index of the map in the drop down list that you want to display.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <integer><Unwrap_UVW>.numberMaps()

Returns the number of maps in the map drop down list.

Exposed via unwrap interface in 3ds Max 4 and higher.

    <void><Unwrap_UVW>.addMap <texturemap>map

Adds the supplied texture map to the Maps drop-down list of the Unwrap_UVW Editor.

Exposed via unwrap4 interface in 3ds Max 7 and higher.

## UV Space Flyout

Methods:

    <void><Unwrap_UVW>.setUVSpace <integer>UVSpace

Sets the UV Space fly out in the edit floater, where UVSpace defines the space that you want to view the texture vertices in:

1 - UV

2 - VW

3 - UW

Exposed via unwrap interface in 3ds Max 4 and higher.

    <integer><Unwrap_UVW>.GetUVSpace()

Returns the state of the UV Space fly out in the edit floater:

1 - UV

2 - VW

3 - UW

Exposed via unwrap interface in 3ds Max 4 and higher.

## Auto-Background

Methods:

    <boolean><Unwrap_UVW>.getAutoBackground()

Returns the AutoBackground option’s state.

Exposed via unwrap2 interface in 3ds Max 5 and higher.

    <void><Unwrap_UVW>.setAutoBackground <boolean>enable

Sets the AutoBackground option’s state.

Exposed via unwrap2 interface in 3ds Max 5 and higher.

    <void><Unwrap_UVW>.SetAutoBackGround <boolean>autoBackground

There is a new auto background option which, when set to True, will tie the current background to the current Mat. Filter ID. When you change the Mat. Filter ID, the background will automatically change to a map that uses that material id.

Exposed via unwrap3 interface in 3ds Max 6 and higher.

    <boolean><Unwrap_UVW>.GetAutoBackGround()

Returns the state of the Auto Background option (see above)

Exposed via unwrap3 interface in 3ds Max 6 and higher.