<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation18AnchoringComponentV05ImageC6SourceV"
  },
  "title" : "AnchoringComponent.ImageAnchoringSource"
}
-->

# AnchoringComponent.ImageAnchoringSource

Defines the source of image anchoring target based on how it is created.

```
struct ImageAnchoringSource
```

## Topics

### Initializers

[`init(URL, physicalSize: SIMD2<Float>)`](/documentation/RealityKit/AnchoringComponent/ImageAnchoringSource/init(_:physicalSize:))

Creates the image anchoring source from image file URL.

[`init(group: String, name: String)`](/documentation/RealityKit/AnchoringComponent/ImageAnchoringSource/init(group:name:))

Creates the image anchoring source by group and name in AR Resources.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

---

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)