MultiTile : textureMap

MultiTile - superclass: textureMap; super-superclass:material - 2:2 - classID: #(736L, 0L)

NEW in 3ds Max 2017: This textureMap implements support for UDIM, custom, Z-Brush and Mudbox-compatible multi-tile textures.

   

Constructors:

MultiTile... MultiTileMap...

   

Properties:

<MultiTile>.PatternFormat     Name    default: #ZBrush   --  enum

Get/set the selection of the "File Pattern Format" drop-down list.

Exposed by the MultiTile MixinInterface (see below).

Possible values are:

0 - #ZBrush (default)

1 - #Mudbox

2 - #UDIM

3 - #Custom

Setting the property to the corresponding integer value from 0 to 3 is also supported.

   

<MultiTile>.ViewportQuality     Name    default: #low   --  enum

Get/set the selection of the "Viewport Quality" drop-down list.

Exposed by the MultiTile MixinInterface (see below).

Possible values are:

0 - #Low (default)

1 - #Medium

2 - #High

Setting the property to the corresponding integer value from 0 to 3 is also supported.

   

MultiTile interfaces:

Interface: MultiTiles

Properties:

.PatternFormat : enum : Read|Write
PatternFormat enums: {#ZBrush|#Mudbox|#UDIM|#Custom}

See the Properties: list above for details.

   

.ViewportQuality : enum : Read|Write
ViewportQuality enums: {#Low|#Middle|#High}

See the Properties: list above for details.

   

Methods:

<bool>setPatternedImageFile <filename>filePath

Sets the filename and path to the Patterned Image File.

Returns True on success, False on failure (for example, if file was not found or was not a valid patterned file).

   

<bool>setImageFile <index>tile index <filename>filePath

Sets the bitmap image to the indexed tile from the Patterned Image File specified by the second argument.

Returns True on success, False on failure.

   

<integer>getTileUOffset <index>tileIndex

Returns the U offset of the indexed tile.

   

<void>setTileUOffset <index>tileIndex <integer>uIndex

Sets the U offset of the indexed tile to the offset specified by the second argument.

   

<integer>getTileVOffset <index>tileIndex

Returns the V offset of the indexed tile.

   

<void>setTileVOffset <index>tileIndex <integer>vIndex

Sets the V offset of the indexed tile to the offset specified by the second argument.

   

<texturemap>getTileTexmap <index>tileIndex

Returns a bitmapTexture map with the indexed tile.

   

<void>setTileTexmap <index>tileIndex <texturemap>texmap

Sets the indexed tile to the bitmapTexture map supplied as second argument.

   

<integer>tileCount()

Returns the number of tiles.

   

<void>addTile()

Adds a tile.

Equivalent to pressing the "Add Tile" icon next to the "Number Of Textures" field in the UI.

   

<void>deleteTile <index>tile index

Deletes the indexed tile.

Equivalent to pressing the "Delete Tile" icon next to the Tile name button in the UI.

   

Actions: