Overview
Container class for an ARFrame
and its corresponding GARFrame.
These two frames will always have the same timestamp. GARFrames 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... | |
Property Summary | |
ARFrame * | arFrame |
The ARKit frame object. More... | |
GARFrame * | garFrame |
The ARCore frame object. More... | |
Method Detail
- (instancetype _Nullable) initWithARFrame: | (ARFrame *) | arFrame | |
GARFrame: | (GARFrame *) | garFrame | |
Instantiate a GARFramePair with the given frames.
- Parameters
-
arFrame The ARKit frame object. garFrame The ARCore frame object.
Property Detail
|
readnonatomicassign |
The ARKit frame object.
|
readnonatomicassign |
The ARCore frame object.