GARFramePair Class

GARFramePair Class Reference

Overview

Container class for an ARFrame and its corresponding GARFrame.

These two frames will always have the same timestamp. GARFrame's do not hold references to ARFrame's - ARFrame's must be released as quickly as possible to free up resources, or ARKit may be starved. The SDK only holds a reference to the most recent frame pair.

Inherits NSObject.

Instance Method Summary

(instancetype _Nullable) - initWithARFrame:GARFrame:
 Instantiate a GARFramePair with the given frames. More...
 
(instancetype) - NS_UNAVAILABLE
 Instantiate using initWithARFrame:GARFrame:. More...
 

Property Summary

ARFrame * arFrame
 The ARKit frame object. More...
 
GARFramegarFrame
 The ARCore frame object. More...
 

Method Detail

- (instancetype _Nullable) initWithARFrame: (ARFrame *)  arFrame
GARFrame: (GARFrame *)  garFrame 

Instantiate a GARFramePair with the given frames.

Parameters
arFrameThe ARKit frame object.
garFrameThe ARCore frame object.
- (instancetype) NS_UNAVAILABLE

Instantiate using initWithARFrame:GARFrame:.

Property Detail

- (ARFrame*) arFrame
readnonatomicassign

The ARKit frame object.

- (GARFrame*) garFrame
readnonatomicassign

The ARCore frame object.

Send feedback about...