## TranslateUVW

### Description

Translates texture coordinate elements

### Scripting Syntax

    TranslateUVW( InputObjs, TextureProjection, [X], [Y], [Z], [Delta], [AxesFilter], [SplitLocalComponents] );

### Parameters

Parameter | Type | Description
--- | --- | ---
InputObjs | String | List of objects or components to translate. Default Value: Selected elements
TextureProjection | String | Texture projection to modify.
X | Double | U position Default Value: 0.0
Y | Double | V position Default Value: 0.0
Z | Double | W position Default Value: 0.0
Delta | siDeltaMode | Specifies whether the translation is relative or absolute Default Value: siRelative
Possible Values: | Description:
siRelative | Translation is relative to existing position
siAbsolute | Translation specifies an absolute position
AxesFilter | siUVWAxesFilter | Determines which of the u,v,w arguments are valid Default Value: siUVW
Possible Values: | Description:
siU | Filter in U
siV | Filter in V
siUV | Filter in U & V
siW | Filter in W
siUW | Filter in U & W
siVW | Filter in V & W
siUVW | Filter in U & V & W
SplitLocalComponents | Boolean | If true, translate the sample points individually. Default Value: False

### Examples

#### VBScript Example

    ' This example creates grid and applies a texture on it. It then modifies a subset of its uvw coordinates

    ' by translating them in u and v.

    NewScene

    CreatePrim "Grid", "MeshSurface"

    SetDisplayMode "Views.ViewA.TopCamera", "textured"

    CreateProjection "grid", siTxtPlanarXZ, siTxtDefaultPlanarXZ, , "Texture_Projection"

    SIApplyShaderToCnxPoint "Image", "Sources.Materials.DefaultLib.Scene_Material.Phong.diffuse"

    TranslateUVW "grid.sample[108-115,140-147]", "grid.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection", -0.375, 0.375, 0, siRelative , siUVW

### See Also

ScaleUVW RotateUVW