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
|
ARFrame *
The ARKit frame object.
|
garFrame
|
GARFrame *
The ARCore frame object.
|
Public methods |
|
---|---|
initWithARFrame:
|
instancetype _Nullable
Instantiate a
GARFramePair with the given frames. |
Properties
Public methods
initWithARFrame:GARFrame:
- (instancetype _Nullable)initWithARFrame:(ARFrame *) arFrameGARFrame:(GARFrame *) garFrame
Instantiate a GARFramePair
with the given frames.
Details | |||||
---|---|---|---|---|---|
Parameters |
|