One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

AnchoringComponent.ImageAnchoringSource

struct · iOS 18.0+ · SDK 27.1

struct ImageAnchoringSource

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

Members (2)

init · iOS 18.0+

init

TypeScript
static initGroupName(group: string, name: string): AnchoringComponent_ImageAnchoringSource
Swift declaration
init(group: String, name: String)

Creates the image anchoring source by group and name in AR Resources. - Parameters: - group: The group name of the image in AR Resources. - name: The name of the image in AR Resources.

init · iOS 18.0+

init

TypeScript
static initPhysicalSize(url: string, physicalSize: SDKHandle): AnchoringComponent_ImageAnchoringSource
Swift declaration
init(_ url: URL, physicalSize: SIMD2<Float>)

Creates the image anchoring source from image file URL. - Parameters: - url: The image file URL. - physicalSize: The physical size of tracking image

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →