# wrapModeW

> Options for sampling a texture if the W coordinate is outside the [0, 1] range.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public TextureWrapMode wrapModeW { get; set; }
```

### Remarks

The W texture coordinate represents the depth axis. This property is only relevant for [Texture3D](/engine/6000.7/script-reference/unityengine/texture3d.md)) objects.

Additional Resources: [TextureWrapMode](/engine/6000.7/script-reference/unityengine/texturewrapmode.md), [Texture.wrapMode](/engine/6000.7/script-reference/unityengine/texture/wrapmode.md), [Texture assets](/engine/6000.7/manual/materials-and-shaders/textures/textures-reference/class-texture-importer.md).
