<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/AnchoringComponent/ImageAnchoringSource/init(_:physicalSize:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation18AnchoringComponentV05ImageC6SourceV_12physicalSizeAE0B03URLV_s5SIMD2VySfGtcfc"
  },
  "title" : "init(_:physicalSize:)"
}
-->

# init(_:physicalSize:)

Creates the image anchoring source from image file URL.

```
init(_ url: URL, physicalSize: SIMD2<Float>)
```

## Parameters

`url`

The image file URL.

`physicalSize`

The physical size of tracking image

---

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)