One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

AnchoringComponent.ObjectAnchoringSource

struct · iOS 18.0+ · SDK 27.1

struct ObjectAnchoringSource

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

Members (2)

init · iOS 27.0+

init

TypeScript
static initReferenceObject(data: ArrayBuffer): AnchoringComponent_ObjectAnchoringSource
Swift declaration
init(referenceObject data: Data)

Creates the object anchoring source by reference object file data. - Parameters: - referenceObject: The data of the reference object file.

init · iOS 18.0+

init

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

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

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →