<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/MaterialParameterTypes/TextureCoordinateTransform",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation22MaterialParameterTypesV26TextureCoordinateTransformV"
  },
  "title" : "MaterialParameterTypes.TextureCoordinateTransform"
}
-->

# MaterialParameterTypes.TextureCoordinateTransform

An object that defines a transformation the framework applies to a
material’s UV-mapped textures.

```
struct TextureCoordinateTransform
```

## Overview

An entity’s UV texture coordinates define how RealityKit maps image
textures onto an entity. This object defines a transformation to texture
coordinates that changes the way this material maps textures onto an
entity. You might, for example, continuously rotate, translate, or scale
the texture coordinates and animate materials to create special effects,
such as fire or flowing liquids.

## Topics

### Creating a texture coordinate transform

[`init(offset: SIMD2<Float>, scale: SIMD2<Float>, rotation: Float)`](/documentation/RealityKit/MaterialParameterTypes/TextureCoordinateTransform/init(offset:scale:rotation:))

Creates a texture coordinate transform object.

### Accessing the transform values

[`var offset: SIMD2<Float>`](/documentation/RealityKit/MaterialParameterTypes/TextureCoordinateTransform/offset)

The amount by which the framework offsets the entity’s UV texture
coordinates.

[`var scale: SIMD2<Float>`](/documentation/RealityKit/MaterialParameterTypes/TextureCoordinateTransform/scale)

The amount by which the framework scale the UV texture coordinates.

[`var rotation: Float`](/documentation/RealityKit/MaterialParameterTypes/TextureCoordinateTransform/rotation)

The amount by which the framework rotates the UV texture coordinates
you specify in radians.



---

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)