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

# UVWmap : Modifier

    Uvwmap - superclass: modifier; super-superclass:MAXWrapper - 15:1 - classID: #(1012401, 0)

Value > MAXWrapper > Modifier > UVWmap

| Modifier Classes - Quick Navigation

Constructor

    uvwmap ...

Properties

    <Uvwmap>.maptype Integer default: 0

Determines the type of mapping coordinates used. Different kinds of mapping are distinguished by how the map is geometrically projected onto the object and how the projection interacts with the object’s surfaces.

0-Planar (Projects the map from a single plane flat against the object, somewhat like projecting a slide. Planar projection is useful when only one side of an object needs to be mapped. It is also useful for obliquely mapping multiple sides, and for mapping two sides of a symmetrical object.)

1-Cylindrical (Projects the map from a cylinder, wrapping it around an object. Seams where the edges of the bitmap meet are visible unless a seamless map is used. Cylindrical projection is useful for objects that are roughly cylindrical in shape.)

2-Spherical (Surrounds the object by projecting the map from a sphere. You see a seam and mapping singularities at the top and bottom of the sphere where the bitmap edges meet at the sphere’s poles. Spherical mapping is useful for objects that are roughly spherical in shape.)

3-Shrink Wrap (Uses spherical mapping, but truncates the corners of the map and joins them all at a single pole, creating only one singularity. Shrink-wrap mapping is useful when you want to hide the mapping singularity.)

4-Box (Projects the map from the six sides of a box. Each side projects as a planar map, and the effect on the surface depends on the surface normal. Each face is mapped from the closest box surface whose normal most closely parallels its own normal.)

5-Face (Applies a copy of the map to every face of an object. Pairs of faces sharing a hidden edge are mapped with the full rectangular map. Single faces with no hidden edge are mapped with a triangular portion of the map.)

6-XYZ to UVW (Maps 3D procedural coordinates to UVW coordinates. This "sticks" the procedural texture to the surface. If the surface stretches, so does the 3D procedural map.)

    <Uvwmap>.cap Boolean default: false

When on, applies planar mapping coordinates to the caps of the cylinder.

    <Uvwmap>.length Float default: 1.0 -- animatable

The length of the UVW mapping gizmo.

    <Uvwmap>.width Float default: 1.0 -- animatable

The width of the UVW mapping gizmo.

    <Uvwmap>.height Float default: 1.0 -- animatable

The height of the UVW mapping gizmo.

    <Uvwmap>.utile Float default: 1.0 -- animatable, alias: U_Tile

The tiling of the UVW map along the U-axis.

    <Uvwmap>.uflip Boolean default: false

When on, reverses the image about the U-axis.

    <Uvwmap>.vtile Float default: 1.0 -- animatable, alias: V_Tile

The tiling of the UVW map along the V-axis.

    <Uvwmap>.vflip Boolean default: false

When on, reverses the image about the V-axis.

    <Uvwmap>.wtile Float default: 1.0 -- animatable, alias: W_Tile

The tiling of the UVW map along the W-axis.

    <Uvwmap>.wflip Boolean default: false

When on, reverses the image about the W-axis.

    <Uvwmap>.channel Integer default: 0

Specifies whether to apply the transform to a mapping channel or a vertex color channel:

0- Map Channel

1- Vertex Color Channel

    <Uvwmap>.mapChannel Integer default: 1

The map channel used to apply mapping transforms.

    <Uvwmap>.axis Integer default: 2

Specifies which axis of the gizmo is aligned with the local Z-axis of the object:

0- X

1- Y

2- Z

    <Uvwmap>.gizmo SubAnim

Enables gizmo transformations.

Turn on and then move, scale, and rotate the gizmo in the viewports to position the map.

In the Material Editor, you turn on the Show Map in Viewport option to make the map visible in a shaded viewport, the map moves on the surface of the object as you transform the gizmo.

    <Uvwmap.Gizmo>.position Point3 default: [0,0,0] -- animatable

The position of the UVWmap gizmo.

    <Uvwmap.Gizmo>.rotation Quat default: (quat 0 0 -1 0) -- animatable

The rotation of the UVWmap gizmo.

    <Uvwmap.Gizmo>.scale Point3 default: [1,1,1] -- animatable

The scale of the UVWmap gizmo.

NoteThe Gizmo property is not present until the Uvwmap modifier has been applied to a node.

Interfaces:

    Interface:realWorldMapSizeInterface

Properties:

    .realWorldMapSize: boolean : Read|Write

Enables/disables the real-world map size option.

Available in 3ds Max 8 and higher.

#### See Also

- Modifier Sub-Object Transform Properties

- Modifier Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods