One Logo Pool Ball
ARKit · IOS API REFERENCE

ARReferenceObject

class · iOS 12.0+ · SDK 27.1

class ARReferenceObject

Members (14)

get · iOS 12.0+

archiveExtension

TypeScript
static get archiveExtension(): string
Swift declaration
class let archiveExtension: String
static · iOS 12.0+ · Deprecated in iOS 27.0

referenceObjects

TypeScript
static referenceObjects(name: string, bundle?: (_Foundation_Bundle) | null): (Array<ARReferenceObject>) | null
Swift declaration
class func referenceObjects(inGroupNamed name: String, bundle: Bundle?) -> Set<ARReferenceObject>?
method · iOS 12.0+ · Deprecated in iOS 27.0

export

TypeScript
export(url: string, previewImage?: (_UIKit_UIImage) | null): void
Swift declaration
func export(to url: URL, previewImage: UIImage?) throws
init · iOS 12.0+

init

TypeScript
static init(url: string): ARReferenceObject
Swift declaration
init(archiveURL url: URL) throws
method · iOS 12.0+ · Deprecated in iOS 27.0

applyingTransform

TypeScript
applyingTransform(transform: SDKHandle): ARReferenceObject
Swift declaration
func applyingTransform(_ transform: simd_float4x4) -> ARReferenceObject
method · iOS 12.0+ · Deprecated in iOS 27.0

merging

TypeScript
merging(object: ARReferenceObject): ARReferenceObject
Swift declaration
func merging(_ object: ARReferenceObject) throws -> ARReferenceObject
get · iOS 12.0+

center

TypeScript
get center(): SDKHandle
Swift declaration
var center: simd_float3 { get }
get · iOS 12.0+

extent

TypeScript
get extent(): SDKHandle
Swift declaration
var extent: simd_float3 { get }
get · iOS 12.0+

name

TypeScript
get name(): (string) | null
Swift declaration
var name: String? { get set }
set · iOS 12.0+

name

TypeScript
set name(value: (string) | null)
Swift declaration
var name: String? { get set }
get · iOS 12.0+ · Deprecated in iOS 27.0

rawFeaturePoints

TypeScript
get rawFeaturePoints(): ARPointCloud
Swift declaration
var rawFeaturePoints: ARPointCloud { get }
get · iOS 13.0+ · Deprecated in iOS 27.0

resourceGroupName

TypeScript
get resourceGroupName(): (string) | null
Swift declaration
var resourceGroupName: String? { get }
get · iOS 12.0+

scale

TypeScript
get scale(): SDKHandle
Swift declaration
var scale: simd_float3 { get }
get · iOS 27.0+

usdzFile

TypeScript
get usdzFile(): (string) | null
Swift declaration
var usdzFile: URL? { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

ARReferenceObject.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All ARKit types →