<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNMaterialProperty/wrapT",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNMaterialProperty(py)wrapT"
  },
  "title" : "wrapT"
}
-->

# wrapT

The wrapping behavior for the T texture coordinate.

```
var wrapT: SCNWrapMode { get set }
```

## Discussion

Wrapping modes determine texture mapping behavior for cases where a material’s texture coordinates extend outside the range from `0.0` to `1.0`. For example, if you use the [`contentsTransform`](/documentation/SceneKit/SCNMaterialProperty/contentsTransform) property to shrink a texture relative to the surface of a geometry, you use the wrap mode properties to determine whether the texture repeats across the surface.

The T texture coordinate measures the vertical axis of a texture image, increasing from `0.0` at the bottom of the image to `1.0` at the top.

The default wrap mode is [`SCNWrapMode.clamp`](/documentation/SceneKit/SCNWrapMode/clamp). See [`SCNWrapMode`](/documentation/SceneKit/SCNWrapMode) for available modes and their effects.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)