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

# UnwrapUVW Modifier - Preferences Dialog

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

## Colors

Methods:

    <point3><Unwrap_UVW>.getLineColor()

Returns the color of the lines used to connect the texture vertices edges as a Point3 value.

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

    <void><Unwrap_UVW>.setLineColor <point3>color

Sets the line color of the texture vertices.

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

    <point3><Unwrap_UVW>.getHandleColor()

Returns the handle color.

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

    <void><Unwrap_UVW>.setHandleColor <point3>color

Sets the handle color.

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

    <boolean><Unwrap_UVW>.getShowShared()

Returns whether shared sub objects are displayed. Shared sub objects are texture vertices or edges that share the same geometric vertex or edge.

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

    <void><Unwrap_UVW>.setShowShared <boolean>select

Sets whether shared sub objects are displayed. Shared sub objects are texture vertices or edges that share the same geometric vertex or edge.

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

    <point3><Unwrap_UVW>.getSharedColor()

Returns the color that will be used to show shared sub objects.

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

    <void><Unwrap_UVW>.setSharedColor <point3>color

Sets the color that will be used to show shared sub objects.

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

    <point3><Unwrap_UVW>.getSelectionColor()

Returns the texture vertices selection color as a Point3 value.

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

    <void><Unwrap_UVW>.setSelectionColor <point3>color

Sets the color of selected texture vertices.

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

    <point3><Unwrap_UVW>.getFreeFormColor()

Returns the Free Form Gizmo color.

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

    <void><Unwrap_UVW>.setFreeFormColor <point3>color

Sets the Free Form Gizmo color.

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

    <point3><Unwrap_UVW>.getOpenEdgeColor()

Returns the color used to display Open Edges.

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

    <void><Unwrap_UVW>.setOpenEdgeColor <point3>color

Sets the color used to display Open Edges.

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

    <point3><Unwrap_UVW>.getBackgroundColor()

Returns the Background color.

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

    <void><Unwrap_UVW>.setBackgroundColor <point3>color

Sets the Background color.

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

## Fill Mode

Methods:

    <integer><Unwrap_UVW>.getFillMode()

Returns the polygon fill mode:

- 1 - No Fill
- 2 - Solid Fill
- 3 - Cross Hatch Diagonal Downward
- 4 - Cross Hatch Horizontal/Vertical
- 5 - Cross Hatch Diagonal
- 6 - Cross Hatch Diagonal Upward
- 7 - Cross Hatch Horizontal
- 8 - Cross Hatch Vertical

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

    <void><Unwrap_UVW>.setFillMode <integer>mode

Sets the polygon fill mode.

- 1 - No Fill
- 2 - Solid Fill
- 3 - Cross Hatch Diagonal Downward
- 4 - Cross Hatch Horizontal/Vertical
- 5 - Cross Hatch Diagonal
- 6 - Cross Hatch Diagonal Upward
- 7 - Cross Hatch Horizontal
- 8 - Cross Hatch Vertical

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

## Open Edges Display

Methods:

    <boolean><Unwrap_UVW>.getDisplayOpenEdges()

Returns the state of the Display Seams option.

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

    <void><Unwrap_UVW>.setDisplayOpenEdges <boolean>displayOpenEdges

Sets the state of the Display Seams option.

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

    <boolean><Unwrap_UVW>.getOpenEdgeMode()

Returns the OpenEdge Mode.

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

    <void><Unwrap_UVW>.setOpenEdgeMode <boolean>uvOpenMode

Sets the OpenEdge Mode.

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

    <void><Unwrap_UVW>.openEdgeSelect()

Selects Open Edges. Select any number of edges and call this method to select all open edges which share texture vertices with the original selection.

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

## Display Preferences

Methods:

    <boolean><Unwrap_UVW>.getBrightnessAffectsCenterTile()

Returns the state of the "Affect Center Tile" option in the Display Preferences of the Advanced Options dialog.

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

    <void><Unwrap_UVW>.setBrightnessAffectsCenterTile <boolean>bright

Sets the state of the "Affect Center Tile" option in the Display Preferences of the Advanced Options dialog.

When set to true , the brightness value affects the center tile.

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

    <boolean><Unwrap_UVW>.getBlendTileToBackground()

Returns the state of the "Blend Tile To Background" option in the Display Preferences of the Advanced Options dialog.

When true , the brightness value affects the center tile.

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

    <void><Unwrap_UVW>.setBlendTileToBackground <boolean>blend

Sets the state of the "Blend Tile To Background" option in the Display Preferences of the Advanced Options dialog.

When set to true , the tiled images are blended to the background color or black

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

## Map Tiling

Methods:

    <boolean><Unwrap_UVW>.getTileMap()

Returns true if the map is tiled, false otherwise.

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

    <void><Unwrap_UVW>.setTileMap <boolean>tile

Enable/Disable the map tiling.

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

    <integer><Unwrap_UVW>.getTileMapLimit()

Returns the map tiling limit. Corresponds to the Tile Limit value found in the Options panel and Advanced Options dialog.

The value defines how many times to repeat the map outside of the original map area.

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

    <void><Unwrap_UVW>.setTileMapLimit <integer>limit

Sets the map tiling limit.

Corresponds to the Tile Limit value found in the Options panel and Advanced Options dialog. The value defines how many times to repeat the map outside of the original map area.

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

    <float><Unwrap_UVW>.getTileMapBrightness()

Returns the Brightens of the tiled map outside of the original map area.

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

    <void><Unwrap_UVW>.setTileMapBrightness <float>contrast

Sets the Brightens of the tiled map outside of the original map area.

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

## Grid

Methods:

    <float><Unwrap_UVW>.getGridSize()

Returns the Grid Size.

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

    <void><Unwrap_UVW>.setGridSize <float>size

Sets the Grid Size.

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

    <boolean><Unwrap_UVW>.getGridSnap()

Returns the state of the Grid Snap checkbutton. Always returns false if the Snap flyout is in Pixel Snap mode.

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

    <void><Unwrap_UVW>.setGridSnap <boolean>snap

Sets the state of the Grid Snap checkbutton. Changes the flyout to Grid Snap if necessary.

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

    <boolean><Unwrap_UVW>.getGridVisible()

Returns the visible state of the Grid.

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

    <void><Unwrap_UVW>.setGridVisible <boolean>visible

Sets the visible state of the Grid.

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

    <point3><Unwrap_UVW>.getGridColor()

Returns the Grid color.

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

    <void><Unwrap_UVW>.setGridColor <point3>color

Sets the Grid color.

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

    <float><Unwrap_UVW>.getGridStr()

Returns the strength of the grid snap.

At a strength of 1 the snap system has complete control and a vertex will always snap to a grid intersection, at a strength of 0 there will be no snapping.

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

    <void><Unwrap_UVW>.setGridStr <float>str

Sets the strength of the grid snap.

At a strength of 1 the snap system has complete control and a vertex will always snap to a grid intersection, at a strength of 0 there will be no snapping.

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

## Hit Size

Methods:

    <integer><Unwrap_UVW>.getHitSize()

Returns the Single Click Hit Size value found in the Advanced Options dialog.

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

    <void><Unwrap_UVW>.setHitSize <integer>size

Sets the Single Click Hit Size value found in the Advanced Options dialog.

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

## Tick Size

Methods:

    <integer><Unwrap_UVW>.getTickSize()

Returns the selected vertex tick size.

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

    <void><Unwrap_UVW>.setTickSize <integer>size

Sets the selected vertex tick size.

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