ARKit · IOS API REFERENCE
ARReferenceImage
class · iOS 11.3+ · SDK 27.1
class ARReferenceImage
Members (8)
static · iOS 11.3+referenceImages
TypeScriptstatic referenceImages(name: string, bundle?: (_Foundation_Bundle) | null): (Array<ARReferenceImage>) | null
Swift declarationclass func referenceImages(inGroupNamed name: String, bundle: Bundle?) -> Set<ARReferenceImage>?
init · iOS 11.3+init
TypeScriptstatic initOrientationPhysicalWidth(image: _CoreGraphics_CGImage, orientation: _ImageIO_CGImagePropertyOrientation, physicalWidth: number): ARReferenceImage
Swift declarationinit(_ image: CGImage, orientation: CGImagePropertyOrientation, physicalWidth: CGFloat)
init · iOS 11.3+init
TypeScriptstatic initOrientationPhysicalWidth40754(pixelBuffer: _CoreVideo_CVBuffer, orientation: _ImageIO_CGImagePropertyOrientation, physicalWidth: number): ARReferenceImage
Swift declarationinit(_ pixelBuffer: CVPixelBuffer, orientation: CGImagePropertyOrientation, physicalWidth: CGFloat)
method · iOS 13.0+validate
TypeScriptvalidate(completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc validate() async throws
get · iOS 11.3+name
TypeScriptget name(): (string) | null
Swift declarationvar name: String? { get set }
set · iOS 11.3+name
TypeScriptset name(value: (string) | null)
Swift declarationvar name: String? { get set }
get · iOS 11.3+physicalSize
TypeScriptget physicalSize(): { width: number; height: number }
Swift declarationvar physicalSize: CGSize { get }
get · iOS 13.0+resourceGroupName
TypeScriptget resourceGroupName(): (string) | null
Swift declarationvar resourceGroupName: String? { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
ARReferenceImage.init()
inherited init: cannot prove legal (class declares 4 custom initializers)
All ARKit types →