UVGenClass : Material

Value > MAXWrapper > Material > TextureMap > Shared Classes > UVGenClass

 

   

Materials and Maps - Quick Navigation

Properties

<textureMap.coordinates>.mappingType Integer default: 0 	 

Controls the mapping type of the generated texure coordinates. Possible values are:

0 - Texture

1 - Environment

If the Coordinates rollout for the textureMap is displayed in Material Editor and this property’s value is changed, the Texture/Environ radiobutton and Mapping dropdown displays are not updated to reflect the change.

   

<textureMap.coordinates>.mapping Integer default: varies   

If mapping type is Texture mapping ( mappingType = 0), the default value for this property is 0.Possible mapping values are:

0 - Explicit Map Channel

1 - Vertex Color Channel

2 - Planar from Object XYZ

3 - Planar from World XYZ

If mapping type is Environment mapping ( mappingType = 1), the default value for this property is0.Possiblemappingvalues are:

0 - Spherical

1 - Cylindrical

2 - Shrink-Wrap

3 - Screen

The mapping source for Texture and Environment mapping types are internally stored in separate variables, and the mapping source set for a mapping type is retained if you change the mapping source for the other mapping type.

   

<textureMap.coordinates>.showMapOnBack Boolean default: true 

Corresponds to the Show Map on Back checkbox.

   

<textureMap.coordinates>.U_Mirror Boolean default: false 

Mirror the U coordinate.

   

<textureMap.coordinates>.V_Mirror Boolean default: false 

Mirror the V coordinate.

   

<textureMap.coordinates>.U_Tile Boolean default: true 

Tile the U coordinate.

   

<textureMap.coordinates>.V_Tile Boolean default: true 

Tile the V coordinate.

   

<textureMap.coordinates>.UVW_Type Integer default: 0 

The UV, VW and WU type:

0 - UV

1 - VW

2 - WU

   

<textureMap.coordinates>.mapChannel Integer default: 1 

The UV coordinate map channel.

   

<textureMap.coordinates>.U_Offset Float default: 0.0 -- animatable 
<textureMap.coordinates>.V_Offset Float default: 0.0 -- animatable 

Offset mapping coordinates along the surface’s local U axis or V axis. That is, at 0.0 (the default), the map begins at the U or V origin. Increasing an Offset value moves the map forward along that axis, and decreasing it moves it backward.

   

<textureMap.coordinates>.U_Tiling Float default: 1.0 -- animatable 
<textureMap.coordinates>.V_Tiling Float default: 1.0 -- animatable 

The tiling of UV mapping coordinates; that is, the number of times a mapped material’s map is repeated in the surface’s local U axis or V axis.

   

<textureMap.coordinates>.U_Angle Float default: 0.0 -- animatable, angle 

Rotates the map about the U-axis (in degrees).

   

<textureMap.coordinates>.V_Angle Float default: 0.0 -- animatable, angle 

Rotates the map about the V-axis (in degrees).

   

<textureMap.coordinates>.W_Angle Float default: 0.0 -- animatable, angle 

Rotates the map about the W-axis (in degrees).

   

<textureMap.coordinates>.Blur Float default: 1.0 -- animatable 

Affects the sharpness or blurriness of the map based on its distance from the view. The farther away the map is, the greater the blurring. The Blur value blurs maps in world space.

   

<textureMap.coordinates>.Blur_Offset Float default: 0.0 -- animatable 

Affects the sharpness or blurriness of the map without regard to its distance from the view. Blur Offset blurs the image itself in object space. Use this option when you want to soften or defocus the details in a map to achieve the effect of a blurred image.

   

<textureMap.coordinates>.Phase Float default: 0.0 -- animatable 

The speed of the animation of the noise function.

   

<textureMap.coordinates>.Noise_On Boolean default: false 

Toggles Noise on and off. Corresponds to the On checkbox in the UI.

   

<textureMap.coordinates>.Noise_Animate Boolean default: false 

Toggles the animation of the Noise on and off.

   

<textureMap.coordinates>.Noise_Amount Float default: 1.0 -- animatable 

The strength of the fractal function, expressed as a percentage. If the amount is 0 there is no noise. If the amount is 100 the map becomes pure noise.

   

<textureMap.coordinates>.Noise_Levels Integer default: 1 -- animatable 

The number of times the function is applied. The effect of the level is dependent on the Amount value. The stronger the amount, the greater the effect of increasing the Levels value.

   

<textureMap.coordinates>.Noise_Size Float default: 1.0 -- animatable 

The scale of the noise function relative to geometry. At very small values, the noise effect becomes white noise. At large values, the scale can exceed the scale of the geometry, in which case it has little or no effect.

   

<textureMap.coords>.realWorldScale BooleanClass default: false -- boolean 

When set to true, the texture will be scaled to real-world size.

When false, it will behave as in previous versions of 3ds Max.

Available in 3ds Max 8 and higher.

   

<textureMap.coords>.UVTransform Matrix3 default: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0]) 

Get/set the transformation matrix to convert the mapping coordinates into real-world size.

Available in 3ds Max 8 and higher.

   

<textureMap.coords>.realWorldHeight Float default: 1.0 -- float 

Get/set the real-world Height value.

Available in 3ds Max 8 and higher.

   

<textureMap.coords>.realWorldWidth Float default: 1.0 -- float 

Get/set the real-world Width value.

Available in 3ds Max 8 and higher.

See Also