# wrapMode

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

## Definition

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

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

### Remarks

Using wrapMode sets the same wrapping mode on all axes. Different per-axis wrap modes can be set using [Texture.wrapModeU](/engine/6000.6/script-reference/unityengine/texture/wrapmodeu.md), [Texture.wrapModeV](/engine/6000.6/script-reference/unityengine/texture/wrapmodev.md), [Texture.wrapModeW](/engine/6000.6/script-reference/unityengine/texture/wrapmodew.md). Querying the value returns the U axis wrap mode (same as [Texture.wrapModeU](/engine/6000.6/script-reference/unityengine/texture/wrapmodeu.md) getter).

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