<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LightmapResource/AtlasReference/uvScale",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation16LightmapResourceC14AtlasReferenceV7uvScales5SIMD2VySfGvp"
  },
  "title" : "uvScale"
}
-->

# uvScale

A scale to apply to lightmap UV attribute before sampling
from the slice of the atlas.
Note that lightmap textures use the Metal convention: UV (0,0) corresponds
to the top-left corner of the image, while UV (1,1) corresponds to the bottom-right.

```
var uvScale: SIMD2<Float>
```

---

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)