GARFramePair

Container class for an ARFrame and its corresponding GARFrame .

These two frames will always have the same timestamp. A GARFrame does 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.

Summary

Inheritance

Inherits from: NSObject

Properties

ARFrame *
The ARKit frame object.
The ARCore frame object.

Public methods

instancetype _Nullable
Instantiate a GARFramePair with the given frames.

Properties

arFrame

 
@property ( nonatomic , readonly ) ARFrame * arFrame ;

The ARKit frame object.

garFrame

 
@property ( nonatomic , readonly ) GARFrame * garFrame ;

The ARCore frame object.

Public methods

initWithARFrame:GARFrame:

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

Instantiate a GARFramePair with the given frames.

Details
Parameters
arFrame
The ARKit frame object.
garFrame
The ARCore frame object.
Design a Mobile Site
View Site in Mobile | Classic
Share by: