<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/PhotogrammetrySession/Poses/urlsBySample",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation21PhotogrammetrySessionC5PosesV12urlsBySampleSDySi0B03URLVGvp"
  },
  "title" : "urlsBySample"
}
-->

# urlsBySample

Mapping from the sample ID to the image URL in the input folder corresponding to that sample ID. This simplifies the
visualization of which image in the input folder corresponds to a given computed pose.

```
var urlsBySample: [Int : URL] { get }
```

## Discussion

Note: the dictionary is empty unless a folder of images was used to create this session.  If the session is created from
a custom `Sequence` it is expected that the caller has maintained the map from provided sample ID to original image
location.

---

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)